Forty non-zero positive numbers are written in a row. The average of the first two numbers is 1. The average of the second and third numbers is 2. The average of the third and fourth numbers is 3 and so on.