#include <bits/stdc++.h>
using namespace std;
int main ()
{
int x1,y1,x2,y2;
cin >> x1 >> y1;
cin >> x2 >> y2;
cout << x1 << "+" << y1 << "=" << (x1+y1) << endl;
if (y2>x2){cout << y2 << "-" << x2 << "=" << (y2-x2);}else {cout << x2 << "-" << y2 << "=" << (x2-y2);};
return 0;
}
#include <bits/stdc++.h>
using namespace std;
int main ()
{
int x1,y1,x2,y2;
cin >> x1 >> y1;
cin >> x2 >> y2;
cout << x1 << "+" << y1 << "=" << (x1+y1) << endl;
if (y2>x2){cout << y2 << "-" << x2 << "=" << (y2-x2);}else {cout << x2 << "-" << y2 << "=" << (x2-y2);};
return 0;
}