#include <iostream>
using namespace std;
int main( )
{
int a,b,sum,minus;
cin>>a>>b;//输入两个整数,两个数之间用空格分开
sum=a+b;
minus=a-b;
cout<<"a+b="<<sum<<endl;
cout<<"a-b="<<minus<<endl;
}
using namespace std;
int main( )
{
int a,b,sum,minus;
cin>>a>>b;//输入两个整数,两个数之间用空格分开
sum=a+b;
minus=a-b;
cout<<"a+b="<<sum<<endl;
cout<<"a-b="<<minus<<endl;
}