#include<iostream>
using namespace std;
int main()
{
	int a;
	cin>>a;
	int b,c,d;
	b=a%1000;
	a=a/1000;
	c=b%100;
	b=b/100;
	d=c%10;
	c=c/10;
	if(a+b+c+d==7)//8
	{
		cout<<a<<"+"<<b<<"+"<<c<<"+"<<d<<"="<<"7"<<endl;
		exit(0);
		
	}
	if(a+b+c-d==7)//7
	{
		cout<<a<<"+"<<b<<"+"<<c<<"-"<<d<<"="<<"7"<<endl;
		exit(0);
	}
	if(a+b-c+d==7)//6
	{
		cout<<a<<"+"<<b<<"-"<<c<<"+"<<d<<"="<<"7"<<endl;
		exit(0);
	}
	if(a-b+c+d==7)//5
	{
		cout<<a<<"-"<<b<<"+"<<c<<"+"<<d<<"="<<"7"<<endl;
		exit(0);
	}
	if(a+b-c-d==7)//4
	{
		cout<<a<<"+"<<b<<"-"<<c<<"-"<<d<<"="<<"7"<<endl;
		exit(0);
	}
	if(a-b+c-d==7)//3
	{
		cout<<a<<"-"<<b<<"+"<<c<<"-"<<d<<"="<<"7"<<endl;
		exit(0);
	}
	if(a-b-c+d==7)//2
	{
		cout<<a<<"-"<<b<<"-"<<c<<"+"<<d<<"="<<"7"<<endl;
		exit(0);
	}
	if(a-b-c-d==7)//1
	{
		cout<<a<<"-"<<b<<"-"<<c<<"-"<<d<<"="<<"7"<<endl;
		exit(0);
	}	
}