function Main(input) {
	var sign = ["+", "-"];
	var num = input.toString().split("");
	for( var i=0; i < 8; i++ ){
	var str = num[0] + sign[((i&4)!=0)+0] + num[1] + sign[((i&2)!=0)+0] + num[2] + sign[((i&1)!=0)+0] + num[3];
	if ( eval(str) == 7 ){
		console.log(str+"=7");
		break;
	}
	}
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));