function Main(input){
    const A = input.split('').map(Number);
    if(A[0] + A[1] + A[2] + A[3] == 7) return console.log(A[0] + "+" + A[1] + "+" + A[2] + "+" + A[3] + "=7");
    if(A[0] + A[1] + A[2] - A[3] == 7) return console.log(A[0] + "+" + A[1] + "+" + A[2] + "-" + A[3] + "=7");
    if(A[0] + A[1] - A[2] - A[3] == 7) return console.log(A[0] + "+" + A[1] + "-" + A[2] + "-" + A[3] + "=7");
    if(A[0] - A[1] - A[2] - A[3] == 7) return console.log(A[0] + "-" + A[1] + "-" + A[2] + "-" + A[3] + "=7");
    if(A[0] - A[1] - A[2] + A[3] == 7) return console.log(A[0] + "-" + A[1] + "-" + A[2] + "+" + A[3] + "=7");
    if(A[0] - A[1] + A[2] + A[3] == 7) return console.log(A[0] + "-" + A[1] + "+" + A[2] + "+" + A[3] + "=7");

    return console.log(A[0] + A[1] + A[2] + A[3])
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
