about summary refs log tree commit diff
path: root/codechef/snckyear.py
diff options
context:
space:
mode:
Diffstat (limited to 'codechef/snckyear.py')
-rwxr-xr-xcodechef/snckyear.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/codechef/snckyear.py b/codechef/snckyear.py
new file mode 100755
index 0000000..0d9410a
--- /dev/null
+++ b/codechef/snckyear.py
@@ -0,0 +1,4 @@
+#!/usr/bin/env python
+
+SNCKYEAR = dict.fromkeys((2010, 2015, 2016, 2017, 2019), 'HOSTED')
+for _ in range(int(input())): print(SNCKYEAR.get(int(input()), 'NOT HOSTED'))