input = require("fs").readFileSync("/dev/stdin", "utf8").split("\n")
abcd = input[0]
target = 7
ans = ""
dfs = (str, rest)=>{
  if(rest.length === 0){
    if(eval(str) === target){
      ans = str;
    }
  }else{
    dfs(str+"+"+rest[0], rest.substr(1));
    dfs(str+"-"+rest[0], rest.substr(1));
  }
};
dfs(abcd[0], abcd.substr(1));
console.log(ans);