#include "bits/stdc++.h"
using namespace std;
typedef long long LL;
LL lucas[87];
char op[3];
int main() {
	string S;
	cin >> S;
	int A[4];
	for (int i = 0; i < 4; i++) A[i] = S[i] - '0';
	for (int bit = 0; bit < (1 << 3); bit++) {
		int sum = A[0];
		for (int i = 0; i < 3; i++) {
			if (bit&(1 << i)) sum -= A[i + 1], op[i] = '-';
			else sum += A[i + 1], op[i] = '+';
		}
		if (sum == 7) {
			printf("%d%c%d%c%d%c%d=7\n", A[0], op[0], A[1], op[1], A[2], op[2], A[3]);
			return 0;
		}
	}
}