#!/bin/python3

import sys
n = int(input().strip())

message = "Weird" if n % 2 != 0  else "Not Weird" if 2 <= n <= 5 else "Weird" if 6 <= n <= 20 else "Not Weird"
print(message)
b3e6110b8a24e85a9b9e158d8ad5fdad721e42ce
<mask token>

<mask token>
print(message)

<mask token>
n = int(input().strip())
message = ('Weird' if n % 2 != 0 else 'Not Weird' if 2 <= n <= 5 else 
    'Weird' if 6 <= n <= 20 else 'Not Weird')
print(message)

import sys
n = int(input().strip())
message = ('Weird' if n % 2 != 0 else 'Not Weird' if 2 <= n <= 5 else 
    'Weird' if 6 <= n <= 20 else 'Not Weird')
print(message)

#!/bin/python3

import sys
n = int(input().strip())

message = "Weird" if n % 2 != 0  else "Not Weird" if 2 <= n <= 5 else "Weird" if 6 <= n <= 20 else "Not Weird"
print(message)