A particle starts at 0 on a number line and moves forward 10 times. On the -th move, it goes forward by the -th prime number. After each move, if it does not land on a perfect square, it moves back to the nearest smaller perfect square. Where will the particle be after 10 moves?