import java.util.Scanner; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); sc.close(); if (n < 1984) { System.out.println("None"); } else if (n < 2008) { System.out.println("Namiki High School"); } else { System.out.println("Namiki Secondary School"); } } }