function Main(input){
  var inputs = input.split("");
  var b ={};
  function att(sum,n,a){
    if(n == 0){
      if(sum == 0){
        b[n] = inputs[n];
        return true;
      }else{
        return false;
      }
    }else{
      if(att(sum-inputs[n-1],n-1,a) == true){
        if(n-1 == 0){
          b[n-1] = inputs[n-1];
        }else{
          b[n-1] = "+" + inputs[n-1];
        }
        return true;
      }else if(att(sum+inputs[n-1],n-1,a) == true){
        b[n-1] = "-" + inputs[n-1];
        return true;
      }else{
        return false;
      }
    }
  }
  if(att(7,4,inputs) == true){
    console.log(b[0] + b[1] + b[2] + b[3] + "=7");
  }
}
Main(require('fs').readFileSync('/dev/stdin','utf8'));