#include<bits/stdc++.h> using namespace std; int main(){ int n,b,c,d; cin>>n; b=n%10; c=n/10; d=b*10+c; if(n>d){ cout<<n; }else{ cout<<d; } } /************************************************************** Problem: 1625 User: wangyiyang Language: C++ Result: Accepted Time:8 ms Memory:2072 kb ****************************************************************/