#include<stdio.h>int main(){int a,b,c;scanf("%d",&a);c = a % 10;b = a /100 * 100 + c;printf("%d\n",b);return 0;}