import java.util.*;
public class Try {
public static void main(String[] args) {
Scanner scn = new Scanner(System.in);
int n = scn.nextInt();
int temp = 0;
int i = 2;
for (i = 2; i <= n - 1; i++)
;
{
if (n % i == 0) {
temp = temp + 1;
}
}
if (temp>1) {
System.out.println(" prime no");
} else {
System.out.println("NON prime no");
}
}
}
here input given is 7or 9 both gives non prime number y so