<gh_stars>0
import math
import os
import random
import re
import sys

if __name__ == '__main__':
    
    # print("ingrese un n° entre 1 y 100")
    
    n = int(input().strip())

    if (n >= 1 & n <= 100):

        if ( n > 20 ):
            print("Not Weird")
        
        elif ( n in range(6, 21) ):
            print("Weird")
        
        elif ( n % 2 == 0 or n in range(2 ,6) ):
            print("Not Weird")

        elif ( n % 2 != 0 ):
            print("Weird")
        
        else:
            print("Weird")
        
    else:
        print("Weird")
