n=int(input()) if 1984<=n<=2007: print("Namiki High School") elif 2008<=n: print("Namiki Secondary School") else: print("None")