import sys input = sys.stdin.readline N=int(input()) if N<1984: print("None") elif N<2008: print("Namiki High School") else: print("Namiki Secondary School")