#include <stdio.h>
int add(int a,int b)
{
 a++,b++;
 return a+b;
}
int main(void) {
	// your code goes here
    int x,y;
    scanf("%d%d",&x,&y);
    printf("%d",add(x,y));
	return 0;
}
