Find the missing frequencies

Find the missing frequencies

Find the missing frequencies if the median is 25
Daily Exp. Families
0-10 14
10-20 ?
20-30 27
30-40 ?
40-50 15
(ans. 23,21)
// no other information is given other than this. How to work this out?