text: #!/bin/python3
  
  if __name__ == '__main__':
      N = int(input())
      if N % 2 == 1:
          print('Weird')
      elif N == 2 or N == 4 or N > 20:
          print("Not Weird")
      else:
          print("Weird")
  