calculating mean and median pls help

Answer:
Here's my answer ;)
For mean:
Mean=sum of f.midpoint
=1475/50
=29.5
For median:
½ (50)= 25