Rank, score and age are three numbers.
His score can't be 2, 3, 7, only 97.
Because he is a middle school student, his age can't be 2,3,7, but 2× 7 = 14.
There is only one 3 in the end, so the ranking is 3.
The result is: ranked third, score 97, age 14. The checking calculation is 3× 97× 14 = 4074.