#include <iostream>
#include <cstdio>

using namespace std;

int main(void) 
{
	int i,j,k,ans;
	int a[4]={0};
	int sgn[3]={0};
	for(i=0;i<4;i++)
	scanf("%1d",&a[i]);
	
	for(i=0;i<=1;i++)
		for(j=0;j<=1;j++)
			for(k=0;k<=1;k++)
			{
				if(i==0) sgn[0]=-1; else sgn[0]=1;
				if(j==0) sgn[1]=-1; else sgn[1]=1;
				if(k==0) sgn[2]=-1;	else sgn[2]=1;
				ans=a[0]+sgn[0]*a[1]+sgn[1]*a[2]+sgn[2]*a[3];
				if(ans==7) goto LABEL;
 			}
 			
 	LABEL:
 	
 	printf("%d",a[0]);
 	if(sgn[0]==1) printf("+"); else printf("-");
 	printf("%d",a[1]);
 	if(sgn[1]==1) printf("+"); else printf("-");
 	printf("%d",a[2]);
 	if(sgn[2]==1) printf("+"); else printf("-");
 	printf("%d=7\n",a[3]);
	
	return 0;
}