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