num = int(input())
if num % 2 != 0:
    print("Weird")
if num % 2 == 0:
    if 2 <= num:
        if num <= 5:
            print("Not Weird!")
if num % 2 == 0:
    if num >= 6:
        if num < 20:
            print("Weird!")
        else:
            print("Not Weird!")



"""
tab = [1,2,5,8,6,65,5,4,54,5,56,8,7,4,21,21,1,7,8,9,47,5,7,44,55,64,31,89,45,34,65,64,654]
print(tab.__len__())
num = 0
for x in tab:
    num +=1

print("list lenght is :",num)


"""
