Four students sold lemonade after school. They had five $5 bills, two $10 bills, seven $1 bills and four dimes. They split the money they earned equally so that each student received the same amount. How much money did each student receive?