N=int(input()) if N>=2008: print("Namiki Secondary School") elif N>=1984: print("Namiki High School") else: print("None")