You start out in last position. Then you overtake the other runners one by one. The first one you overtake is in second-to-last place. The last one you overtake is the race leader, and you are then the race leader, i.e. first.