#P350. 练60.4 捉迷藏

练60.4 捉迷藏

Description

Glaire and Nick play hide-and-seek. There are 1010 holes (numbered 00 to 99) arranged in a circle, and Nick is hiding in one of them. Glaire starts at hole 00, enters hole 11 on the first move, skips 11 hole to enter hole 33 on the second move, and on the ii-th move, skips i1i-1 holes to enter the next hole, and so on. Glaire enters holes 10001000 times but still cannot find Nick. Write a program to calculate which holes Nick might be hiding in.

Input Format

None.

Output Format

Output the hole numbers where Nick might be hiding, in ascending order, one per line.

Sample

None
2
4
7
9