#practice loops

import math


#some error in this code


n = int(input().strip())
if n%2==1 :
    print("Weird")

elif  n%2==0 & n in range (6,20):    
    print("Weird")

elif n%2 == 0 & n in range(2,5):
    print("Not Weird")

elif n%2 == 0 & n>20:
    print("Not Weird")
    












