import java.util.*;
public class Main {
public static void main(String args[]) {
Scanner s=new Scanner(System.in);
int n=s.nextInt();
int d=2;
while(d<=n-1)
{
if(n%d==0)
{
System.out.println(“Not Prime”);
return;
}
d++;
}
if(n==d)
System.out.println(“Prime”);
} }
please resolve the issue working perfectly fine in my compiler