#include<stdio.h>
#include<conio.h>
int main()
{
int prime=0,i=2,n;
clrscr();
printf("enter any no.");
scanf("%d",&n);
while(i<(n-1))
{
if(n%i==0)
prime=1;
break;
}
if(prime==0)
printf("no. is a prime no.");
else
printf("no is not a prime no,");
getch();
return 0;
}