We are given the average age of three people A, B, and C is 30. Let their integer ages be $x, y,$ and $z$ respectively, with the condition $x \le y \le z$.
The formula for the average age is:
$ \frac{x + y + z}{3} = 30 $Multiplying both sides by 3, we get the sum of their ages:
$ x + y + z = 90 $We are told that B's age ($y$) is 5 more than A's age ($x$):
$ y = x + 5 $Substitute $y = x + 5$ into the sum of ages equation:
$ x + (x + 5) + z = 90 $Simplify the equation:
$ 2x + 5 + z = 90 $ $ 2x + z = 85 $We can express $z$ in terms of $x$:
$ z = 85 - 2x $The ages must satisfy the condition $x \le y \le z$.
Substitute $z = 85 - 2x$ into the inequality $x + 5 \le z$:
$ x + 5 \le 85 - 2x $Add $2x$ to both sides:
$ 3x + 5 \le 85 $Subtract 5 from both sides:
$ 3x \le 80 $Divide by 3:
$ x \le \frac{80}{3} \approx 26.67 $Since $x$ must be an integer, the maximum possible value for $x$ is 26.
To find the minimum possible value of $z$, we need to use the maximum possible value of $x$, because $z = 85 - 2x$. A larger $x$ results in a smaller $z$.
Using the maximum integer value for $x$, which is $x = 26$:
$ z = 85 - 2(26) $ $ z = 85 - 52 $ $ z = 33 $Let's verify if these ages satisfy all conditions:
All conditions are met. Therefore, the minimum possible value of $z$ is 33.