'use strict'

function main(s) {

  const nums = s.split('\n')[0].split('');
  let ans = '';

  const dfs = (i, str) => {
    if (i === nums.length - 1) {
      str = str + nums[i];
      if (eval(str) === 7) {
        ans = (str + '=7');
      }
      return;
    } else {
      dfs(i + 1, str + nums[i] + '+');
      dfs(i + 1, str + nums[i] + '-');
    }
  }

  dfs(0, '');
  console.log(ans);
}

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