• + 0 comments

    !/bin/python3

    import math import os import random import re import sys

    if name == 'main': n = int(input().strip()) if n % 2 == 1: # Odd print("Weird") else: # Even if 2 <= n <= 5: # Range 2 to 5 print("Not Weird") elif 6 <= n <= 20: # Range 6 to 20 print("Weird") elif n > 20: # Greater than 20 print("Not Weird")