You had $50. You spent 10% of the money on clothes, 20% on games, and the rest on books. How much money was spent on books?