#include<stdio.h>
int main(){
    int firstreactant,secondreactant;
    int sum=firstr
    scanf("%d %d",&firstreactant,&secondreactant);
    if((firstreactant>=-10^3&&firstreactant<=10^3) && (secondreactant>=-10^3&&secondreactant<=10^3))
    printf("%d + %d",firstreactant,secondreactant);
    else
    printf("Invalid input");
    return 0;
}