process.stdin.resume();
process.stdin.setEncoding('utf8');

var g_input = '';
process.stdin.on('data', function(chunk) {
    g_input += chunk;
});

process.stdin.on('end', function() {
    Main(g_input.split(/\r?\n/));
});

function Main(input) {

    var digits = input[0].split('');

    var a = parseInt(digits[0], 10);
    var b = parseInt(digits[1], 10);
    var c = parseInt(digits[2], 10);
    var d = parseInt(digits[3], 10);

    if (a + b + c + d == 7) {
        console.log(a + '+' + b + '+' + c + '+' + d + '=7');
    }
    else if (a + b + c - d == 7) {
        console.log(a + '+' + b + '+' + c + '-' + d + '=7');
    }
    else if (a + b - c + d == 7) {
        console.log(a + '+' + b + '-' + c + '+' + d + '=7');
    }
    else if (a + b - c - d == 7) {
        console.log(a + '+' + b + '-' + c + '-' + d + '=7');
    }
    else if (a - b + c + d == 7) {
        console.log(a + '-' + b + '+' + c + '+' + d + '=7');
    }
    else if (a - b + c - d == 7) {
        console.log(a + '-' + b + '+' + c + '-' + d + '=7');
    }
    else if (a - b - c + d == 7) {
        console.log(a + '-' + b + '-' + c + '+' + d + '=7');
    }
    else {
        console.log(a + '-' + b + '-' + c + '-' + d + '=7');
    }

    return 0;
}

