#!/usr/bin/env python
# coding: utf-8

# In[ ]:


def func():
    N=int(input())
    if N%2!=0:
        print("Weird")
    else:
        if N>=2 and N<6:
            print("Not Weird")
        if N>=6 and N<22:
            print("Weird")
        if N>21:
            print("Not Weird")
func()


7ac0396b686ab935d0e0c3722ddbe7dc87cda120
<mask token>

def func():
    N = int(input())
    if N % 2 != 0:
        print('Weird')
    else:
        if N >= 2 and N < 6:
            print('Not Weird')
        if N >= 6 and N < 22:
            print('Weird')
        if N > 21:
            print('Not Weird')


<mask token>

def func():
    N = int(input())
    if N % 2 != 0:
        print('Weird')
    else:
        if N >= 2 and N < 6:
            print('Not Weird')
        if N >= 6 and N < 22:
            print('Weird')
        if N > 21:
            print('Not Weird')


func()

#!/usr/bin/env python
# coding: utf-8

# In[ ]:


def func():
    N=int(input())
    if N%2!=0:
        print("Weird")
    else:
        if N>=2 and N<6:
            print("Not Weird")
        if N>=6 and N<22:
            print("Weird")
        if N>21:
            print("Not Weird")
func()

