A = eval(input())

for i in range(8):

  B = format(i, '03b').replace('0','-').replace('1','+')

  ans = ''.join([a+b for b,a in zip(B,A)]) + A[-1]

  if eval(ans) == 7:

    print((ans+'=7'))

    exit()
A = eval(input())

for i in range(8):

  B = format(i, '03b').replace('0','+').replace('1','-')

  ans = ''.join([a+b for b,a in zip(B,A)]) + A[-1]

  if eval(ans) == 7:

    print((ans+'=7'))

    exit()
A = eval(input())
for i in range(8):
    B = format(i, "03b").replace("0", "-").replace("1", "+")
    ans = "".join([a + b for b, a in zip(B, A)]) + A[-1]
    if eval(ans) == 7:
        print((ans + "=7"))
        exit()

A = eval(input())
for i in range(8):
    B = format(i, "03b").replace("0", "+").replace("1", "-")
    ans = "".join([a + b for b, a in zip(B, A)]) + A[-1]
    if eval(ans) == 7:
        print((ans + "=7"))
        exit()

-    B = format(i, "03b").replace("0", "-").replace("1", "+") +    B = format(i, "03b").replace("0", "+").replace("1", "-")