#!/bin/python3
#import the sys library
import sys

#get the input and strip it
N = int(input().strip())

#using mod to check if the number is odd or even
if(N%2!=0):
    print("Weird")#use print function to print
elif( 6 <= N <=20 ):#its "elif" in python: Remember this.
    print("Weird")
else:
    print("Not Weird")
