## Setting

Our university has an unusually long corridor which, being underground, has to be lit. By lights. Now, here's the catch: in order to not make things easy on its employees, the university has decided to give each light its own switch to switch it on and off, placed at the corridor's wall next to the light. Due to this unfortunate decision, the employees have revolted until a dedicated light switcher was appointed.

The mighty light switcher is, alas, mighty mad as well and thus does a peculiar thing. Given $$n$$ lights in the corridor, he walks down the corridor $$n$$ times and, in the $$i$$-th walk, toggles only the switches whose rank is divisible by $$i$$. When he reaches the end of the corridor, he comes back to the beginning without toggling any switches and starts the next walk.

If the lights are off at the beginning, what is the state of the last light after $$n$$ walks?

## Input

The input will be an integer indicating the number of lights $$n$$, which is $$\leq 2^{32} - 1$$. A zero indicates the end of input.

## Output

For each test case, print yes or no on a separate line as the light is on or off, respectively.

## Sample Input

3
6241
8191
0


## Sample Output

no
yes
no


This challenge is provided by the ACM International Collegiate Programming Contest.

## Statistics

 Difficulty (10 votes) Average test runtime 0.26 Points (changes over time) 20 Tried by 56 users Solved by 39 users

## Global ranking

# Name Runtime Points worth
1 ,s/java/NaN/gi 0.12 36
2 Brian 0.13 33
3 贝尔恩德 0.13 33
4 The Dude 0.14 32
5 Dark 0.14 31
6 mascent 0.14 31
7 Justin 0.15 30
8 Marvin 0.15 30
9 Pascal 0.15 30
10 Benno 0.15 29
11 Lars 0.17 26
12 Sven 0.19 23
13 Connor 0.20 22
14 JB 0.20 22
15 AlexanderP 0.20 22
16 Lukas 0.20 22
17 Nico 0.21 21
18 Jan 0.21 21
19 Melf 0.21 21
20 Sven 0.23 19
21 Chris Danger 0.26 17
22 Mac 0.26 17
23 Irfan 0.26 17
24 Jonah 0.27 16
25 Jona 0.28 15
26 Philip 0.30 15
27 c. 0.31 14
28 IeM 0.36 12
29 KnorpelSenf 0.36 12
30 Thore 0.36 12
31 Nis 0.36 12
32 Jan 0.37 12
33 Skøgland 0.37 12
34 Jana 0.38 11
35 Anne 0.39 11
36 Valentin 0.39 11
37 Eren B. Yilmaz 0.40 11
38 VargK 0.49 9
39 Phatti McButterpants 0.50 9