#include<bits/stdc++.h> 
using namespace std;
int main()
{
   int x,j,i;
   cin>>x;
   j=x%10;
   i=x/100;
   cout<<i*10+j;
}
/**************************************************************
	Problem: 1615
	User: yangjunwen
	Language: C++
	Result: Accepted
	Time:7 ms
	Memory:2072 kb
****************************************************************/