#include<bits/stdc++.h>
using namespace std;
int n,a,b;
int main(){
    cin>>n;
    a=n/10;
    b=n%10;
    cout<<a+b*10;
	return 0;       
}
/**************************************************************
	Problem: 1606
	User: zhangziang
	Language: C++
	Result: Accepted
	Time:8 ms
	Memory:2072 kb
****************************************************************/