#include <iostream>
using namespace std;
int main() {
    int x,b,s,g,_s;
    cin >> x;
    b=x/100;  
    s=(x/10)%10;    
    g=x%10;
    _s= g*100+s*10+b;
    cout << swapped << endl;
    return 0;
}
/**************************************************************
	Problem: 1028
	User: huangcanwu
	Language: C++
	Result: Compile Error
****************************************************************/