#include<stdio.h>
void hui(int n1,int n2){
int i,a;
int result=0,b=i;
for(i=n1;i<=n2;i++){
while(i>0){
a=i%10;
i=i/10;
result=a+result*10;
}
if(result==b){
printf("%d\n",b);
}
}
}
int main()
{
hui(200,1000);
return 0;
}