Roads of Potokolandiya
Execution time limit is 1 second
Runtime memory usage limit is 256 megabytes
In Potokoland, there are cities and two-way roads. The -th road connects cities and (if , then ).
For example, if , 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 ().
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 (; ) such that it is impossible to travel from to using the roads.
Examples
Input #1
Answer #1
Input #2
Answer #2
Input #3
Answer #3
Input #4
Answer #4