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