A student spent 1/5 of his allowance on books, 1/2 of remainder on food and…