function Main(input){
  input = input.split("\n");
  inputStr = input[0].split(" ");
  const N = inputStr[0];
  //パラメータNを配列に持ち込む
  var ARR = [];
  for(var i=0 ; i<4 ; i++){
    ARR.push(Number.parseInt(N.substr(i,1)));
  }
  //bit値を0～3迄
  for(var i=0 ; i<8 ; i++){
    var str = "";
    //1桁目
    if( (i&1) === 1 ){
      str = ARR[0] + "+" + ARR[1]
    } else {
      str = ARR[0] + "-" + ARR[1]
    }
    //2桁目
    if( (i&1<<1) === (1<<1) ){
      str += "+" + ARR[2]
    } else {
      str += "-" + ARR[2]
    }
    //3桁目
    if( (i&1<<2) === (1<<2) ){
      str += "+" + ARR[3]
    } else {
      str += "-" + ARR[3]
    }
    //結果判断
    if(eval(str) ===7){
      break;
    }
  }
  console.log(str+"=7");
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
