function Main(input) {
    input = input.trim().split("\n").map(function(x) { return x.split(" ")});    
	var ABCD = input[0][0].split("").map(e => parseInt(e, 10));
	var ops = tryAndError(ABCD);
	v_ans = [ABCD[0],ops[0],ABCD[1],ops[1],ABCD[2],ops[2],ABCD[3],"=7"];
	console.log(v_ans.join(""));
}

function tryAndError(ABCD){
	if (ABCD[0] + ABCD[1] + ABCD[2] + ABCD[3] === 7) return(["+","+","+"]);
	if (ABCD[0] + ABCD[1] + ABCD[2] - ABCD[3] === 7) return(["+","+","-"]);
	if (ABCD[0] + ABCD[1] - ABCD[2] + ABCD[3] === 7) return(["+","-","+"]);
	if (ABCD[0] + ABCD[1] - ABCD[2] - ABCD[3] === 7) return(["+","-","-"]);
	if (ABCD[0] - ABCD[1] + ABCD[2] + ABCD[3] === 7) return(["-","+","+"]);
	if (ABCD[0] - ABCD[1] + ABCD[2] - ABCD[3] === 7) return(["-","+","-"]);
	if (ABCD[0] - ABCD[1] - ABCD[2] + ABCD[3] === 7) return(["-","-","+"]);
	if (ABCD[0] - ABCD[1] - ABCD[2] - ABCD[3] === 7) return(["-","-","-"]);
}


Main(require("fs").readFileSync("/dev/stdin", "utf8"));
