import std.stdio;
import std.array;
import std.algorithm;
import std.conv;
import std.numeric;
import std.string;

void main() {
  auto s = readln.chomp;
  auto t = new int[4];
  foreach (i, j; s) {
    t[i] = j.to!int - '0'.to!int;
  }

  foreach(i; 0..2) {
    foreach(j; 0..2) {
      foreach(k; 0..2) {
        int a = t[0], b, c, d;
        if (i == 0) b = t[1];
        else b = -t[1];
        if (j == 0) c = t[2];
        else c = -t[2];
        if (k == 0) d = t[3];
        else d = -t[3];
        if (a + b + c + d == 7) {
          char op1, op2, op3;
          if (i == 0) op1 = '+';
          else op1 = '-';
          if (j == 0) op2 = '+';
          else op2 = '-';
          if (k == 0) op3 = '+';
          else op3 = '-';
          writeln(t[0], op1, t[1], op2, t[2], op3, t[3], "=7");
          return;
        }
      }
    }
  }
}
