var input = require('fs').readFileSync('/dev/stdin', 'utf8').split(/\n/g);
var s = input[0];
for (var i = 0; i < 8; i++) {
    var exp = s[0] + (i & 4 ? "+" : "-") + s[1] + (i & 2 ? "+" : "-") + s[2] + (i & 1 ? "+" : "-") + s[3];
    if (eval(exp) === 7){
        console.log(exp + "=7")
        process.exit();
    } 
}
