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