#include<stdio.h>
int main()
{
	void fun();
	char s[19];
	fun(s);
}
void fun(char w[])
{	
	int i,x,y;
	for(i=10,y=0;i<=100;i++)
	{
	  x=i;
	  while(x>0)
	  {
	  	  w[y]=(char)x%10;
	  	  x/=10;
		  y++;
	  }
	  w[y]='\0';
	  for(x=0,y=y-1;x<y;x++,y--)
	  if(w[x]==w[y])
	  continue;
	  else
	  break;
	  if(x>=y)
	  printf("******%d\n",i);
	}
}