function Main(s) {
  var s = s.split("\n")[0].split("");
  var op = ["+","-"];
  for (var bit = 0; bit < (1<<3); bit++) {
    var ops = [];
    for (var i = 0; i < 3; i++) {
      if (bit & (1<<i)) {
        ops.push(op[0]);
      } else {
        ops.push(op[1]);
      }
    }
    var ans = s[0] + ops[0] + s[1] + ops[1] + s[2] + ops[2] + s[3];
    if (eval(ans) === 7) {
      console.log(ans + "=7");
      return;
    }
  }
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));