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