Andy earned $4,500 last month. He spent $900 on food. What percent of his earnings did Andy spend on food?