text: #!/usr/bin/env python3
  
  #Author: Stefan Toman
  
  if __name__ == '__main__':
      n = int(input())
      if n % 2 == 1:
          print("Weird")
      elif 2 <= n and n <= 5:
          print("Not Weird")
      elif 6 <= n and n <= 20:
          print("Weird")
      else:
          print("Not Weird")
  