• + 0 comments

    !/bin/python3

    import math import os import random import re import sys

    if name == 'main': n = int(input().strip()) if not n%2 == 0: print("Weird"); else: if n>=2 and n<=5: print("Not Weird"); elif n>=6 and n<=20: print("Weird"); elif n >20: print("Not Weird"); else: print("Invalid");