#include <bits/stdc++.h> using namespace std; int main() { int t, n; cin>>t>>n; cout<<t+n-1; return 0; }