Find the median of the following data.
Classes | 118-126 | 127-135 | 136-144 | 145-153 | 154-162 | 163-171 | 172-180 |
Frequency | 3 | 5 | 9 | 12 | 5 | 4 | 2 |