#include <stdio.h>
#include <math.h>
int main()
{
    long int a,b,c,d;

    scanf("%ld%ld",&a,&b);
    printf("%ld+%ld\n",a,b);
    c=a+b;


    printf("%ld\n",c);
    scanf("%ld%ld",&a,&b);
     printf("%ld-%ld\n",a,b);

    d=a-b;
    printf("%ld\n",d);




    return 0;
}
