Skip to content

Instantly share code, notes, and snippets.

@epynic
Created November 20, 2021 09:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save epynic/b3ad13b57b48622e02182835f9e42fad to your computer and use it in GitHub Desktop.
Save epynic/b3ad13b57b48622e02182835f9e42fad to your computer and use it in GitHub Desktop.
sys
#!/bin/python
import math
import os
import random
import re
import sys
if __name__ == '__main__':
n = int(raw_input().strip())
if 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")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment