The average of three numbers A B and C is 24. The ratio of A to B to C is 2:5:1. Find each of the three numbers.

Let the three numbers be 2x, 5x, and x.

The average of the three numbers is (2x + 5x + x)/3 = 24
Simplifying, we get:
8x/3 = 24
8x = 72
x = 9

Therefore, the three numbers are 2(9) = 18, 5(9) = 45, and 9.