#include #include #include #include #include using namespace std; int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ long length=0,breadth=0; cin >> length >> breadth ; cout << ((length-1)+(breadth-1)); return 0; }