string a=Conlose.ReadLine();
int i=.length;string newStr="";
while(i>0){
i--;
newStr+=a[i].toString();
}
Conslose.WiterLine(newStr);
#include
void main()
{
int num;
scanf("%d",&num);
while(num)
{
printf("%d",num%10);
num/=10;
}
}
#include
void reverse()
{
char c;
c=getchar();
if(c!='\n')
{
reverse();
putchar(c);
}
}
void main()
{reverse();}