I define an integer a good number if there is some integer
that satisfies the equation
.
Given the integer , can you tell me if it is a good number or not?
Input Specification
The first line and only line will contain the integer
.
Output Specification
Print Y
if the integer is a good number, and N
otherwise.
Scoring
Let represent the number of characters in your solution.
If is less than
characters, your score will be
.
If is greater than or equal to
, and less than
, your score is
.
Otherwise, your score is .
Sample Input 1
6
Sample Output 1
Y
Sample Input 2
10
Sample Output 2
N
Comments
Although a 49-byte solution is sufficient for full marks, a 42-byte solution exists in Python: https://mcpt.ca/src/117423