#!/bin/python3

# https://www.hackerrank.com/challenges/py-if-else/problem
# Author : Sagar Malik (sagarmalik@gmail.com)
import math
import os
import random
import re
import sys



if __name__ == '__main__':
    n = int(input().strip())
    if n%2==1 or n>=6 and n<=20:
      print ("Weird")
    elif n>=2 and n<=5 or n>20:
      print ("Not Weird")