function Main(input){
	input = input.split("\n")[0].split("").map(a=>~~a);
  var A = input[0];
  var B = input[1];
  var C = input[2];
  var D = input[3];
 	var hoge = {"1":"+","-1":"-"};
  var seven = "=7"
  for(var i = -1; i < 2; i+=2){
  for(var j = -1; j < 2; j+=2){
  for(var k = -1; k < 2; k+=2){
  	if(A+i*B+j*C+k*D==7){
    	return [A,hoge[i],B,hoge[j],C,hoge[k],D,seven].join("")
    }
  }
  }
  }
  
}

console.log(Main(require("fs").readFileSync("/dev/stdin", "utf8")));