// editor3
#include<stdio.h>
void main()
{
    int a,b;
    scanf("%d\n%d\n",&a,&b);
    if(a<0||b<0)
    {
        printf("Invalid input");
    }
    else
    {
        c=a+b;
        printf("%d",c);
    }
}