#include <iostream>
using namespace std;
int main() {
int a;
cin >> a;
a = (a / 100) * 10 + a % 10;
cout << a;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwppbnQgbWFpbigpIHsKICBpbnQgYTsKICBjaW4gPj4gYTsKICBhID0gKGEgLyAxMDApICogMTAgKyBhICUgMTA7CiAgY291dCA8PCBhOwogIHJldHVybiAwOwp9