#include<bits/stdc++.h>
using namespace std;


string s,SS;

void dfs(int a,string S,int sum){
	if(a==4){
		if(sum==7){
			SS=S;
		}
		return;
	}
	
	dfs(a+1,S+"-"+s[a],sum-(s[a]-'0'));
	dfs(a+1,S+"+"+s[a],sum+(s[a]-'0'));
}

int main(){
	int a;
	string s2;
	cin >> s;
	
	a=s[0]-'0';
	s2=s[0];
	dfs(1,s2,a);
	
	cout << SS << "=7" << endl;
	return 0;
}