#include<stdio.h>
#include<math.h>
int main()
{
int a,b,c=0,d,e,f=0;
while(a!=0)
{
b=a%10;
c=c*10+b;
a=a/10;
}
d=(int)sqrt(c)
for(e=2;e<=d;e++)
{
if(c/e==0)
f=1;
}
if(f==1)
printf("yes\n");
else
printf("no\n");
return 0;
}
#include<stdio.h>
#include<math.h>
int main()
{
int a,b,c=0,d,e,f=0;
while(a!=0)
{
b=a%10;
c=c*10+b;
a=a/10;
}
d=(int)sqrt(c)
for(e=2;e<=d;e++)
{
if(c/e==0)
f=1;
}
if(f==1)
printf("yes\n");
else
printf("no\n");
return 0;
}