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