#include<iostream>
#define f1(a,b,c,d) a+b+c+d
#define f2(a,b,c,d) a+b+c-d
#define f3(a,b,c,d) a+b-c+d
#define f4(a,b,c,d) a+b-c-d
#define f5(a,b,c,d) a-b+c+d
#define f6(a,b,c,d) a-b+c-d
#define f7(a,b,c,d) a-b-c+d
#define f8(a,b,c,d) a-b-c-d
using namespace std;
int main()
{	
	char A,B,C,D;
	while(cin>>A>>B>>C>>D)
	{	
		int a=A-'0',b=B-'0', c=C-'0', d=D-'0';
		if(f1(a,b,c,d)==7) cout<<a<<"+"<<b<<"+"<<c<<"+"<<d<<"=7"<<endl;
		else if(f2(a,b,c,d)==7) cout<<a<<"+"<<b<<"+"<<c<<"-"<<d<<"=7"<<endl;
		else if(f3(a,b,c,d)==7) cout<<a<<"+"<<b<<"-"<<c<<"+"<<d<<"=7"<<endl;
		else if(f4(a,b,c,d)==7) cout<<a<<"+"<<b<<"-"<<c<<"-"<<d<<"=7"<<endl;
		else if(f5(a,b,c,d)==7) cout<<a<<"-"<<b<<"+"<<c<<"+"<<d<<"=7"<<endl;
		else if(f6(a,b,c,d)==7) cout<<a<<"-"<<b<<"+"<<c<<"-"<<d<<"=7"<<endl;
		else if(f7(a,b,c,d)==7) cout<<a<<"-"<<b<<"-"<<c<<"+"<<d<<"=7"<<endl;
		else if(f8(a,b,c,d)==7) cout<<a<<"-"<<b<<"-"<<c<<"-"<<d<<"=7"<<endl;
		
	}
	return 0;
}