#include <bits/stdc++.h>
using namespace std;
int main() {
int n,h;
float a,b;
cin>>n;
a=n/10;
b=n%10;
h=a+b;
cout<<h;
return 0;
}
/**************************************************************
Problem: 1605
User: fuhoubin
Language: C++
Result: Accepted
Time:7 ms
Memory:2072 kb
****************************************************************/