Maximum mean

What is the largest that the mean of these numbers could be?

Problem



The mode of 9 numbers between 0 and 100 is 12, the median is 41, and the range is 75.

What is the largest possible value of the mean?

This problem is taken from the World Mathematics Championships