Every high school in the city of Thales sent a team of students to a math contest. Each participant in the contest received a different score. Andrea's score was the median among all students, and hers was the lowest score on her team. Andrea's teammates Beth and Carla placed and , respectively. How many schools are in the city?
17
18
19
20
21