Roads of Potokolandiya#189

Roads of Potokolandiya

1 second
256 megabytes
Easy

In Potokoland, there are cities and two-way roads. The -th road connects cities and (i+i) (if i+i>n, then i+i-n).

For example, if n=5, the roads will be , , , , and .

Determine if it is possible to travel from any city to any other city using the roads. If not, find a pair of cities that are not connected.

Input

The first line contains one integer (1 \leq n \leq 10^6).

Output

Output YES if it is possible to travel from any city to any other city.

Otherwise, output NO on the first line. On the second line, output any two cities and (1 \leq a, b \leq n; a \neq b) such that it is impossible to travel from to using the roads.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading

Example 3

Loading
Loading

Example 4

Loading
Loading