#include <bits/stdc++.h>
using namespace std;
#define int long long int
int ar[5];
bool flag = 0;
void f(int ind,int cur,string s){
	//cout<<ind<<" "<<cur<<" "<<s<<"\n";
	if(ind==5 && cur==7 && !flag){
		cout<<ar[1]<<s[0]<<ar[2]<<s[1]<<ar[3]<<s[2]<<ar[4]<<"=7";
		flag = 1;
		return;
	}
	if(ind==5){
		return;
	}
	f(ind+1,cur+ar[ind],s+'+');
	f(ind+1,cur-ar[ind],s+'-');
}

int32_t main(){
	string s;
	cin>>s;
	for(int i=1;i<=4;i++){
		ar[i]=s[i-1]-'0';
	}
	f(2,ar[1],"");
}
