John spent 20% of his money on food. He spent 40% of the remainder on a toy. If the toy cost 12$ then what percentage of his money did he spend on the toy