A school has 60% girls and 40% boys. If 20% of the girls wear glasses and 40% of the boys wear glasses, what percent of all students wears glasses?