'use strict'
let input = require("fs").readFileSync("/dev/stdin", "utf8");
let Nums = input.split('');
let A = Nums[0];
let B = Nums[1];
let C = Nums[2];
let D = Nums[3];
let Sign = ["+","-"]
let ans = "";
// 多重ループ抜け用のラベル
forStop:
for(let i = 0; i < 2; i++){
  for(let j = 0; j < 2; j++){
	for(let k = 0; k < 2; k++){
      if((eval(A + Sign[i] + B + Sign[j] + C + Sign[k] + D)==7)){
        ans = A + Sign[i] + B + Sign[j] + C + Sign[k] + D　+ "=7";
        break forStop;
      }
	}
  }
}
console.log(ans);
