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