#include <stdio.h> int main () { int x; scanf("%d",&x); int dight; int ret=0; while(x>0){ dight=x%10; printf("%d",dight); x/=10; } return 0; }