#include <iostream>
using namespace std;
string a, s;

void f(int p, int q, string b) {
	if(p==4) {
		if(q==7) s = b + "=7";
		return;
	}
	f(p+1, q+a[p]-'0', b + "+" + a[p]);
	f(p+1, q-a[p]+'0', b + "-" + a[p]);
}

int main() {
	string b;
	cin>>a;
	b = a[0];
	f(1, a[0]-'0', b);
	cout<<s;
	return 0;
}