#include <cstdio>
#include <iostream>
#include <string>

using namespace std;

int main() {
	int a, b, c, d;
	string num;
	while (cin >> num) {
		int flag = 0;
		a = num[0] - '0';
		b = num[1] - '0';
		c = num[2] - '0';
		d = num[3] - '0';
		for (int i = 0; i < 2&&!flag; i++) {
			for (int j = 0; j < 2&&!flag; j++) {
				for (int k = 0; k < 2; k++) {
					//cout << a << b << c << d;
					if (i) b = -b;
					if (j) c = -c;
					if (k) d = -d;
					if ((a + b + c + d) == 7)
					{
						cout << a;
						if (b < 0) cout << "-" << abs(b);
						else cout << "+" << b;
						if (c < 0) cout << "-" << abs(c);
						else cout << "+" << c;
						if (d < 0) cout << "-" << abs(b);
						else cout << "+" << d;
						cout << "=7" << endl;
						flag = 1;
						break;
					}
					b = abs(b);
					c = abs(c);
					d = abs(d);
				}
			}
		}
	}
	return 0;
}