#Python If-Else; Ejercicio 2



import math
import os
import random
import re
import sys



if __name__ == '__main__':
    n = int(input().strip())
    m=n%2
    
def even(n):
    if n>=2 and n<=6:
        print("Not Weird")
    elif n>=6 and n<=20:
        print("Weird")
    else:
        print("Not Weird")
        
if m==1:
    print("Weird")
    
    
if m==0:
    even(n)
    