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

typedef long long ll;

int main()
{
    string str;
    int A, B, C, D;
    int N[15];

    cin >> str;

    transform(begin(str), end(str), N, [](char c) {return c - '0'; });
    A = N[0];
    B = N[1];
    C = N[2];
    D = N[3];


    for (int i=0;i<2;++i) {
        for (int j=0;j<2;++j) {
            for (int k=0;k<2;++k) {
                int ans =0;
                string op1 = (i%2==0) ? "+" :"-";
                string op2 = (j%2==0) ? "+" :"-";
                string op3 = (k%2==0) ? "+" :"-";
                if (op1=="+") {
                    ans =A+B;
                }
                else {
                    ans = A-B;
                }
                if (op2=="+") {
                    ans +=C;
                }
                else {
                    ans -= C;
                }
                if (op3=="+") {
                    ans +=D;
                }
                else {
                    ans -= D;
                }
                if (ans==7) {
                    cout << A<<op1<<B<<op2<<C<<op3<<D<<"="<<7<<endl;
                    return 0;
                }



            }

        }
    }


}

#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;
}
