This question is based upon probability. Each student has a 1 in 18 chance of going first. To complete this mathematically is as follows:
1/18 = 0.05555556
So each student has approximately a 5 percent chance of being chosen first. Now as students are chosen, the probability of them being last grows as students are eliminated because they are chosen based upon their assigned number.