#include<stdio.h>main(){ int n,a,b=0; scanf("%d",&n); while(n>0){ a=n%10; b=(b+a)*10; n=n/10;}b=b/10;printf("%d\n",b);}
int a = 5;inb b = 24; a = a^b;b = a^b;a = a^b;
int a = 5;inb b = 24; a ^= b;b ^= a;a ^= b;
int a = 5;inb b = 24; a = a + b;b = a - b;a = a - b;