Skip to content

Instantly share code, notes, and snippets.

@brockthebear
Created April 14, 2017 16:13
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 brockthebear/204a744fd74867c69b0e8ad0134b238b to your computer and use it in GitHub Desktop.
Save brockthebear/204a744fd74867c69b0e8ad0134b238b to your computer and use it in GitHub Desktop.
#!/bin/python3
import sys
N = int(input().strip())
if (N % 2 != 0) or (N % 2 == 0 and 6 <= N <= 20):
print('Weird')
else:
print('Not Weird')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment