#include<bits/stdc++.h>
using namespace std;
int main(){
  int sum=0;
  string s;
  cin>>s;
  for(int i=0;i<(1<<4);i++){
    sum=0;
    for(int j=0;j<4;j++){
      if(i&(1<<j)&&j!=0){
        sum-=s[j]-'0';
      }
      else{
        sum+=s[j]-'0';
      }
    }
    if(sum==7){
      for(int j=0;j<4;j++){
        if(i&(1<<j)&&j!=0){
          cout<<"-";
        }
        else if(j!=0) cout<<"+";
        cout<<s[j];
      }
      cout<<"=7\n";
      break;
    }
  }
}