#include<bits/stdc++.h>
using namespace std;
int main(){
  char a,b,c,d;
  cin>>a>>b>>c>>d;
  int x=(int)(a-'0'),y=(int)(b-'0'),z=(int)(c-'0'),w=(int)(d-'0');
  int sum=7-x;
  for(int i=0;i<2;i++){
    for(int j=0;j<2;j++){
      for(int k=0;k<2;k++){
        if((2*i-1)*y+(2*j-1)*z+(2*k-1)*w==sum){
          cout<<x<<((2*i-1)>0?'+':'-')<<y<<((2*j-1)>0?'+':'-')<<z<<((2*k-1)>0?'+':'-')<<w<<"=7"; return 0;}
      }
    }
  }
}
