#include using namespace std; using ll = long long; const int INF = 1e9 + 10; const ll INFL = 4e18; int main() { ll N; cin >> N; if (1984 <= N && N < 2008) { puts("Namiki High School"); } else if (N >= 2008) { puts("Namiki Secondary School"); } else { puts("None"); } }