#include<stdio.h>
#include<conio.h>
void main ( )
{
int n, i, f=0;
printf("Enter a number ");
scanf("%d",&n);
for(i=0;i<n;i++)
{
if (n%i == 0)
{
f=1;
breaks;
}
}
if (f==0)
printf("Prime number");
else
print("Not prime number");
getch( );
}