# Check whether number is Sunny Number or Not. 
 
import math
num=int(input("Enter a number:"))
root=math.sqrt(num+1)
if int(root)==root:
    print("It is a Sunny Number.")
else:
   print("It is Not a Sunny Number.")