N = int(input()) if N<1984: print(None) if N>=1984 and N<2008: print('Namiki High School') if N>=2008: print('Namiki Secondary School')