Two college students, student A and student B, recorded approximately how much they spent on food, in dollars, each day for 7 days.

The median and interquartile ranges (IQRs) of these two data sets are shown in this table.


Median IQR
Student A 22 2
Student B 28 2

Which statement best explains the difference of the medians in terms of the IQR?