'use strict';
function Main(stdin){
  const input = stdin.trim().split('').map(str => Number(str));
  const A = input[0], B = input[1], C = input[2], D = input[3];
       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 if(A - B - C - D === 7){ console.log(A + '-' + B + '-' + C + '-' + D + '=7');}
}

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