From the 1986 Canadian Maths Olympiad:
A, B and C are the participants in a Mathlon – an athletics competition made up of several events. In each event x points are awarded for finishing 1st, y points for finishing 2nd, and z points for finishing 3rd, where x>y>z are positive integers. In the end, A scored 22 points, and B and C each scored 9 points. B won the 100 metres. How many events were there in total, and who finished second in the high jump?