if __name__ == '__main__':
    N = int(input())

    if N % 2 != 0:
        print("Weird")
    elif (N % 2 == 0) and (N in range(2,5)):
        print("Not Weird")
    # inclusive!
    elif (N % 2 == 0) and (N in range(6,21)):
        print("Weird")
    elif (N % 2 == 0) and (N > 20):
        print("Weird")

f619bbce26894a8772d3de167444f99a0fc1968b
<mask token>

if __name__ == '__main__':
    N = int(input())
    if N % 2 != 0:
        print('Weird')
    elif N % 2 == 0 and N in range(2, 5):
        print('Not Weird')
    elif N % 2 == 0 and N in range(6, 21):
        print('Weird')
    elif N % 2 == 0 and N > 20:
        print('Weird')

if __name__ == '__main__':
    N = int(input())

    if N % 2 != 0:
        print("Weird")
    elif (N % 2 == 0) and (N in range(2,5)):
        print("Not Weird")
    # inclusive!
    elif (N % 2 == 0) and (N in range(6,21)):
        print("Weird")
    elif (N % 2 == 0) and (N > 20):
        print("Weird")
