One day each summer, Chandler earns money by having a lemonade stand in his neighborhood. He charges $0.50 per glass of lemonade, and he made a total of $24. How many glasses of lemonade did he sell?