if __name__ == '__main__':
    n= int(input())
    if 1 <= n <= 100:
        if n%2==1: print ("Weird")
        elif n%2==0:
        if 2 <= n <= 5 or n>20: print("Not Weird")
        if 6 <= n <= 20: print("Weird")
    else:
        print("n is not valid")
    

2a101bc2a9bed8fac699536e46324b06e3830537
if __name__ == '__main__':
    n= int(input())
    if 1 <= n <= 100:
        if n%2==1: print ("Weird")
        elif n%2==0:
        if 2 <= n <= 5 or n>20: print("Not Weird")
        if 6 <= n <= 20: print("Weird")
    else:
        print("n is not valid")
    
