문제
The Intense Challenges Players Club (ICPC) is hosting a DiviDuelo tournament.
DiviDuelo is a new two-player, turn-based game. In DiviDuelo, a number
The winner is determined by the greatest common divisor (GCD) of the numbers picked by the starting player. If the GCD is not equal to
The ICPC needs your help to prepare some statistics about the games played in the tournament. Given the value of
입력
The input consists of a single line that contains an integer
출력
Output a single line with the uppercase letter “Y” if the starting player can win the game and the uppercase letter “N” otherwise, assuming both players play optimally.
예제 #1
10
Y
예제 #2
9
N
예제 #3
1
N