def main(): N = int(input()) if N < 1984: print("None") return if N < 2008: print("Namiki High School") return print("Namiki Secondary School") if __name__ == "__main__": main()