Find the missing frequency of the group 20-30 when the median is 24.

Size 0−10 10−20 20−30 30−40 40−50
Frequency 5 25 − 18 7