function Main(input) {
  input = input.split("\n");
  var s = input[0];
  a = new Array(4).fill(0);
  for(i=0;i<4;i++){
    a[i]=parseInt(s.substr(i,1));
  }
  var ans = "";
  var b = 7-a[0];
  if(a[1]+a[2]+a[3]==b){
    ans=a[0] + "+" + a[1] + "+" + a[2] + "+" + a[3] + "=7";
  }else if(-a[1]+a[2]+a[3]==b){
    ans=a[0] + "-" + a[1] + "+" + a[2] + "+" + a[3] + "=7";
  }else if(a[1]-a[2]+a[3]==b){
    ans=a[0] + "+" + a[1] + "-" + a[2] + "+" + a[3] + "=7";
  }else if(a[1]+a[2]-a[3]==b){
    ans=a[0] + "+" + a[1] + "+" + a[2] + "-" + a[3] + "=7";
  }else if(-a[1]-a[2]+a[3]==b){
    ans=a[0] + "-" + a[1] + "-" + a[2] + "+" + a[3] + "=7";
  }else if(-a[1]+a[2]-a[3]==b){
    ans=a[0] + "-" + a[1] + "+" + a[2] + "-" + a[3] + "=7";
  }else if(a[1]-a[2]-a[3]==b){
    ans=a[0] + "+" + a[1] + "-" + a[2] + "-" + a[3] + "=7";
  }else if(-a[1]-a[2]-a[3]==b){
    ans=a[0] + "-" + a[1] + "-" + a[2] + "-" + a[3] + "=7";
  }
  console.log('%s', ans);
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));