#include #include int main(){ int n,m=0; scanf("%ld",&n); if(n<=-100000 || n>=100000) { printf("ERROR"); return 0; } int temp=abs(n); while(temp!=0) { m=m*10+temp%10; temp/=10; } if(n<0) m=0-m; printf("%ld -> %ld",n,m); return 0;}