#include<bits/stdc++.h> using namespace std; int main(){ int x,a,b,c; cin>>x; a=x%10*100; b=x/10%10*10; c=x/100%10*1; cout<<a+b+c; } /************************************************************** Problem: 1028 User: linzihang Language: C++ Result: Accepted Time:8 ms Memory:2072 kb ****************************************************************/