The number of people visiting a zoo during weekends is given below. Determine the value of "\(f\)" if the mean of the following data is 30.
| Age | \(0 - 10\) | \(10 - 20\) | \(20 - 30\) | \(30 - 40\) | \(40 - 50\) | \(50 - 60\) | \(60 - 70\) |
| Number of people | 9 | 6 | \(f\) | 4 | 2 | 7 | 6 |
The value of the variable is .
Answer variants:
18
24
35
31