var lines = []; var X = []; var flag = false;
var readline = require('readline');

var rl = readline.createInterface({
    input: process.stdin,
    output: process.stdout,
});

rl.on('line', function (x) {
    lines.push(x);
});

rl.on('close', function () {
    X = lines[0].split("").map(i => Number(i));
    dfs(0, []);
});

function dfs(n, comb) {
    if (n === 3) { calc(comb) }
    else {
        for (var i = 0; i < 2; i++) {
            comb[n] = i;
            dfs(n + 1, comb);
        }
    }
}

function calc(comb) {
    if (flag === true) { return (0) }

    else {
        var sum = X[0]; var ans = X[0].toString();
        for (var i = 0; i < 4; i++) {
            switch (comb[i]) {
                case 0: sum += X[i + 1]; ans = ans + "+" + X[i + 1]; break;
                case 1: sum -= X[i + 1]; ans = ans + "-" + X[i + 1]; break;
            }
        }

        if (sum === 7) { console.log(ans + "=7"); flag = true; }

        return (0);
    }
}