Find the mean and variance for the following frequency distribution.
Classes
0-10
10-20
20-30
30-40
40-50
Frequencies
5
8
15
16
6