Mean is gotten as the sum of the terms divided by the number of terms. That is,
sum of the termsnumber of terms
40+30+70+20+60+10+10+80+30+1010
36010 = $36