3. Kolya, Zhenya, and Nadya take several exams, where they receive a certain whole number of points depending on the place they occupy - first, second, or third, with the person who occupies a higher place receiving more points. After all the exams, Kolya scored 22 points, while Zhenya and Nadya each scored 9 points. Zhenya was first in algebra. Who was second in physics?
71.3. Instruction. A total of 40 points were scored. This means $40 = S n$, where $S$ is the sum of points for one exam, and $n$ is the number of exams. Given that $S \geqslant 6$, thus $S = 8, 10$ or 20. Since Zhena was first in algebra, there were more than two exams; otherwise, 22 would be less than $9 \cdot 2 = 18$. By further enumeration, it is easy to verify that $n = 5, S = 8 = 5 + 2 + 1$ and Kolya was second in physics.