#include <iostream>
using namespace std;

int main() {
    int x;
    cin >> x;

    // 提取百位数字
    int hundreds = x / 100;
    // 提取个位数字
    int units = x % 10;

    // 计算小华的零花钱金额
    int amount = hundreds * 10 + units;

    cout << amount << endl;
    return 0;
}
    
/**************************************************************
	Problem: 1615
	User: fuyijun
	Language: C++
	Result: Accepted
	Time:8 ms
	Memory:2072 kb
****************************************************************/