#include "bits/stdc++.h"
using namespace std;
#define inf 1e9
#define all(x) (x).begin(), (x).end()
#define rall(x) (x).rbegin(), (x).rend()
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
#define repr(i, n) for (ll i = (ll)(n)-1; i >= 0; i--)
#define repf(i, x, n) for (ll i = (ll)(x); i < (ll)(n); i++)
#define repfr(i, x, n) for (ll i = (ll)(x)-1; i >= (ll)(n); i--)
using ll = int64_t;

void Main() {
  string s;
  cin >> s;
  int a[4];

  rep(i, 4) {
    switch (s[i]) {
    case '0':
      a[i] = 0;
      break;
    case '1':
      a[i] = 1;
      break;
    case '2':
      a[i] = 2;
      break;
    case '3':
      a[i] = 3;
      break;
    case '4':
      a[i] = 4;
      break;
    case '5':
      a[i] = 5;
      break;
    case '6':
      a[i] = 6;
      break;
    case '7':
      a[i] = 7;
      break;
    case '8':
      a[i] = 8;
      break;
    case '9':
      a[i] = 9;
      break;
    }
  }

  string ans;

  if (a[0] + a[1] + a[2] + a[3] == 7) {
    ans.push_back(s[0]);
    ans.push_back('+');
    ans.push_back(s[1]);
    ans.push_back('+');
    ans.push_back(s[2]);
    ans.push_back('+');
    ans.push_back(s[3]);
    ans.push_back('=');
    ans.push_back('7');
  } else if (a[0] + a[1] + a[2] - a[3] == 7) {
    ans.push_back((s[0]));
    ans.push_back('+');
    ans.push_back((s[1]));
    ans.push_back('+');
    ans.push_back((s[2]));
    ans.push_back('-');
    ans.push_back(s[3]);
    ans.push_back('=');
    ans.push_back('7');
  } else if (a[0] + a[1] - a[2] + a[3] == 7) {
    ans.push_back((s[0]));
    ans.push_back('+');
    ans.push_back((s[1]));
    ans.push_back('-');
    ans.push_back((s[2]));
    ans.push_back('+');
    ans.push_back((s[3]));
    ans.push_back('=');
    ans.push_back('7');
  } else if (a[0] + a[1] - a[2] - a[3] == 7) {
    ans.push_back((s[0]));
    ans.push_back('+');
    ans.push_back((s[1]));
    ans.push_back('-');
    ans.push_back((s[2]));
    ans.push_back('-');
    ans.push_back((s[3]));
    ans.push_back('=');
    ans.push_back('7');
  } else if (a[0] - a[1] - a[2] - a[3] == 7) {
    ans.push_back(s[0]);
    ans.push_back('-');
    ans.push_back((s[1]));
    ans.push_back('-');
    ans.push_back((s[2]));
    ans.push_back('-');
    ans.push_back((s[3]));
    ans.push_back('=');
    ans.push_back('7');
  } else if (a[0] - a[1] + a[2] - a[3] == 7) {
    ans.push_back(s[0]);
    ans.push_back('-');
    ans.push_back((s[1]));
    ans.push_back('+');
    ans.push_back((s[2]));
    ans.push_back('-');
    ans.push_back((s[3]));
    ans.push_back('=');
    ans.push_back('7');
  } else if (a[0] - a[1] - a[2] + a[3] == 7) {
    ans.push_back(s[0]);
    ans.push_back('-');
    ans.push_back((s[1]));
    ans.push_back('-');
    ans.push_back((s[2]));
    ans.push_back('+');
    ans.push_back((s[3]));
    ans.push_back('=');
    ans.push_back('7');
  } else if (a[0] - a[1] + a[2] + a[3] == 7) {
    ans.push_back(s[0]);
    ans.push_back('-');
    ans.push_back((s[1]));
    ans.push_back('+');
    ans.push_back((s[2]));
    ans.push_back('+');
    ans.push_back((s[3]));
    ans.push_back('=');
    ans.push_back('7');
  }

  std::cout << ans << '\n';

  return;
}

int main() {
  std::cin.tie(nullptr);
  std::ios_base::sync_with_stdio(false);
  std::cout << std::fixed << std::setprecision(15);
  Main();
  return 0;
}


Measured memory_bytes: 256