N = int(input()) if N <= 1983: print("None") elif N <= 2007: print("Namiki High School") else: print("Namiki Secondary School")