//No.36 素数が嫌い! import java.util.*; import java.io.*; import static java.util.Arrays.*; import static java.lang.Math.*; public class No36 { static final InputStream in = System.in; static final PrintWriter out = new PrintWriter(System.out,false); static void solve(){ long n = nextLong(); if (n == 1) { out.println("NO"); return; } for (long i=2; i*i