#include<bits/stdc++.h>
using namespace std;
int main () {
  int a[4];
  string key = "0123456789";
  for (int i = 0; i < 4; i ++) {
    char c;
    cin >> c;
    for (int j = 0; j < 10; j ++) {
      if (c == key[j]) a[i] = j;
    }
  }
  //4桁の数字を1桁ずつに分解
  for (int i = 0; i < 1 << 3; i ++) {
    int i_ = i;
    char c[3];
    int as_ = a[0];//数字に対応した数式の結果
    for (int j = 0; j < 3; j ++) {
      if (i_ % 2) { //i_ % 2 != 0と同値
        c[j] = '+';
        as_ += a[j + 1];
      }
      else {
        c[j] = '-';
        as_ -= a[j + 1];
      }
      i_ /= 2;
    }
    if (as_ == 7) {
      for (int j = 0; j < 3; j ++) cout << a[j] << c[j];
      cout << a[3] << "=7" << endl;
      return 0;//強制終了
    }
  }
}


#include<bits/stdc++.h>
//#include <atcoder/all>
#define ll long long int
#define rep(i,n) for(ll i=0;i<n;i++)
#define vec vector<ll>
#define mat vector<vector<ll>>

using namespace std;
//using namespace atcoder;

const ll mod=1000000007;//998244353;
const ll inf=LONG_LONG_MAX;
ll dx4[4]={1,0,-1,0};
ll dy4[4]={0,-1,0,1};
ll dx8[8]={1,0,-1,1,-1,1,0,-1};
ll dy8[8]={1,1,1,0,0,-1,-1,-1};

int main(){

  string s;
  cin >> s;

  ll a=s[0]-'0',b=s[1]-'0',c=s[2]-'0',d=s[3]-'0';

  for(ll i=-1;i<2;i+=2){
    for(ll j=-1;j<2;j+=2){
      for(ll k=-1;k<2;k+=2){
        if(a+b*i+c*j+d*k==7){
          string t;
          t=to_string(a);
          char e;
          if(i<0)e='-';
          else e='+';
          t+=e;
          t+=to_string(b);
          if(j<0)e='-';
          else e='+';
          t+=e;
          t+=to_string(c);
          if(k<0)e='-';
          else e='+';
          t+=e;
          t+=to_string(d);
          t+="=7";
          cout << t << endl;          
          return 0;
        }
      }
    }
  }

  return 0;
}