import std.functional,
       std.algorithm,
       std.bigint,
       std.string,
       std.traits,
       std.array,
       std.range,
       std.stdio,
       std.conv;

int calc(int a, string op, int b) {
  if (op == "+") {
    return a + b;
  } else {
    return a - b;
  }
}

void main() {
  int[] ABCD = readln.chomp.split("").to!(int[]);
  int A = ABCD[0],
      B = ABCD[1],
      C = ABCD[2],
      D = ABCD[3];
  string[] op = ["+", "-"];

  foreach (op1; op) {
    foreach (op2; op) {
      foreach (op3; op) {
        int e = A.calc(op1, B.calc(op2, C.calc(op3, D)));
        if (e == 7) {
          writefln("%d%s%d%s%d%s%d=7", A, op1, B, op2, C, op3, D);
          return;
        }
      }
    }
  }
}
