#include <bits/stdc++.h>

#define fastio ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL);
#define endl "\n"
#define ALL(a) (a).begin(),(a).end()

using namespace std;
using ll = long long;

const double PI = 3.14159265358979;

void solve()
{
  string s;
  cin >> s;
  int a = (s[0] - '0');
  int b = (s[1] - '0');
  int c = (s[2] - '0');
  int d = (s[3] - '0');
  for(int op1 = -1; op1 <= 1; op1 += 2)
  for(int op2 = -1; op2 <= 1; op2 += 2)
  for(int op3 = -1; op3 <= 1; op3 += 2)
  {
    if (a + b * op1 + c * op2 + d * op3 == 7)
    {
      cout << a;
      cout << (op1 == -1 ? '-' : '+');
      cout << b;
      cout << (op2 == -1 ? '-' : '+');
      cout << c;
      cout << (op3 == -1 ? '-' : '+');
      cout << d;
      cout << "=7";
      return;
    }
  }
}

int main()
{
  fastio;
  solve();

  return 0;
}
#include<bits/stdc++.h>

using namespace std;

int main(){

    string input;
    int tmp = 0;
    char op[3] = {'+','+','+'};

    cin >> input;
  
    for(int bit = 0; bit < (1<< 3); bit++){
        tmp = 0;
        for(int i = 0;i<3;i++){
            if(bit & (1 << i)){
                op[i] = '-';
                tmp += (input[i+1] - '0') * (-1);
            }else{
                op[i] = '+';
                tmp += (input[i+1] - '0');
            }
        }
        tmp += input[0] - '0';
        if(tmp == 7)break;
    }

    for(int i = 0; i<3;i++){
        cout << input[i] << op[i];
    }

    cout << input[3] << "=7" << endl;

    return 0;
}