#include #define inf 1e9 #define MAXN 101 using namespace std; int main(){ char a,b; cin >> a >> b; cout << (a - '0') + (b-'0') << endl; return 0; }