#include <bits/stdc++.h> using namespace std; int main() { int n,s; cin>>n; s=(n-n%10)/10; cout<<n-s; return 0; }