#include <iostream> using namespace std; int main() { float a,b,c,d,e; cin>>a; b=a/100; c=a%100/10; d=a%100%10/1; e=a%100%10%1; a=e*10*100+d*10+c+b/10; cout<<a; return 0; }