#include "stdio.h"
int prime(int n){
int i;
if(!(n&1))return 0;
for(i=3; i*i if(!(n%i)) return 0;
return 1;
}
int inv(int n){
int x=0;
while(n){
(x*=10)+=n%10;
n/=10;
}
return x;
}
int main(void){
int m,n,i;
while(1){
printf("Input m & n(11 if(scanf("%d%d",&m,&n),m>10 && m
printf("Error, redo: ");
}
printf("Between %d and %d absolutely prime number is as follows:\n",m,n);
for(i=m+!(m&1);i if(prime(i) && prime(inv(i)))
printf("%4d",i);
printf("\n");
return 0;
}