#include <bits/stdc++.h>
#include <math.h>
using namespace std;

int main() {
    string s; cin >> s;
    for(int bit=0; bit<(1<<3); bit++){
        string str = "";
        str += s[0];
        int cnt = s[0] - '0';

        if(bit & (1<<0)){
            cnt += s[1] - '0';
            str += "+";
        }else{
            cnt -= s[1] - '0';
            str += "-";
        }
        str += s[1];

        if(bit & (1<<1)){
            cnt += s[2] - '0';
            str += "+";
        }else{
            cnt -= s[2] - '0';
            str += "-";
        }
        str += s[2];

        if(bit & (1<<2)){
            cnt += s[3] - '0';
            str += "+";
        }else{
            cnt -= s[3] - '0';
            str += "-";
        }
        str += s[3];
        if(cnt == 7){
            str += "=7";
            cout << str << endl;
            break;
        }
    }
}
#include <bits/stdc++.h>

using namespace std;
 
typedef long long ll;
typedef long double ld;
typedef pair<int, int> Pii;
typedef pair<int, ll> Pil;
typedef pair<ll, ll> Pll;
typedef pair<ll, int> Pli;

#define fi first
#define se second

const ll MOD = 1e9 + 7;
const ll MOD2 = 998244353;
const ll MOD3 = 1812447359;
const ll INF = 1ll << 62;
const double PI = 2 * asin(1);

void yes() {printf("yes\n");}
void no() {printf("no\n");}
void Yes() {printf("Yes\n");}
void No() {printf("No\n");}
void YES() {printf("YES\n");}
void NO() {printf("NO\n");}

int now[4];
char C[4], op[2] = {'+', '-'};

int main(){
  for (int i = 0; i < 4; i++){
    cin >> C[i];
    now[i] = C[i] - '0';
  }

  for (int i = 0; i < 8; i++){
    int val = now[0], num = i;

    for (int j = 1; j < 4; j++){
      val += pow(-1, num % 2) * now[j];
      num /= 2;
    }

    if (val == 7){
      num = i;
      cout << now[0];
      for (int j = 1; j < 4; j++){
        cout << op[num%2] << now[j];
        num /= 2;
      }

      cout << "=7" << endl;

      return 0;
    }

  }

  return 0;
}
