#include <iostream>
#include <string>
int I[4];

bool f(int i, int s, std::string str) {
  if (i == 4)
    if (s == 7) { std::cout << str << "=7" << std::endl; return true; }
    else return false;
  if (f(i+1, s + I[i], str + '+' + std::to_string(I[i])) 
      || f(i+1, s - I[i], str + '-' + std::to_string(I[i]))) return true;
  return false;
}

int main() {
  char t;
  for (int i = 0; i < 4; i++) {
    std::cin >> t;
    I[i] = t - '0';
  }
  f(1, I[0], std::to_string(I[0]));
}
