s = int(input()) if s <= 1983: print('None') elif s <= 2007: print('Namiki High School') else: print('Namiki Secondary School')