#include<bits/stdc++.h>
using namespace std;
int a[33000][33000],n,m,k,y,p;
int main(){
	cin>>n>>m>>k;
	y=n+m-1;
	p=y;
    return 0;
}