#P2292. 大成若缺

大成若缺

2*n-1是否为质数

Input

多行输入n(2<n<1000)

Output

是输出YES

否则输出NO

Sample Input

3
4
5

Sample Output

YES
YES
NO

HINT

Source