#include<bits/stdc++.h>
using namespace std;
int main(){
	int x,n,a,b,c,z;
    cin>>x;
    a=x%100%10;
    b=x%100/10;
    c=x/100; 
    
    n=a*100+s*10+b;
    cout<<n;
	
	return 0;
}
/**************************************************************
	Problem: 1957
	User: chenyaohuo
	Language: C++
	Result: Compile Error
****************************************************************/