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