from itertools import product

s=eval(input())



for operators in product(["+","-"],repeat=3):

  formula=""

  for i in range(3):

    formula+=s[i]+operators[i]

  formula+=s[-1]

  if eval(formula)==7:

    print((formula+"=7"))

    exit()

  
from itertools import product



s=eval(input())



for op in product(["+","-"],repeat=3):

  formula =""

  for i in range(3):

    formula+=s[i]+op[i]

  formula+=s[-1]

  if eval(formula)==7:

    print((formula+"=7"))

    exit()
from itertools import product

s = eval(input())
for operators in product(["+", "-"], repeat=3):
    formula = ""
    for i in range(3):
        formula += s[i] + operators[i]
    formula += s[-1]
    if eval(formula) == 7:
        print((formula + "=7"))
        exit()

from itertools import product

s = eval(input())
for op in product(["+", "-"], repeat=3):
    formula = ""
    for i in range(3):
        formula += s[i] + op[i]
    formula += s[-1]
    if eval(formula) == 7:
        print((formula + "=7"))
        exit()

-for operators in product(["+", "-"], repeat=3): +for op in product(["+", "-"], repeat=3): -        formula += s[i] + operators[i] +        formula += s[i] + op[i]