import itertools

A, B, C, D = list(eval(input()))



op = ['+','-']



for op1,op2,op3 in itertools.product(op,op,op):

  x = A + op1 + B + op2 + C + op3 + D

  if(eval(x) == 7):

    print((x + "=7"))

    break
N = eval(input())

A, B, C, D = N[0], N[1], N[2], N[3]



ops = ['+','-']

for op1 in ops:

  for op2 in ops:

    for op3 in ops:

      if(eval(A + op1 + B + op2 + C + op3 + D) == 7):

        print((A + op1 + B + op2 + C + op3 + D + "=7"))

        exit()
import itertools

A, B, C, D = list(eval(input()))
op = ["+", "-"]
for op1, op2, op3 in itertools.product(op, op, op):
    x = A + op1 + B + op2 + C + op3 + D
    if eval(x) == 7:
        print((x + "=7"))
        break

N = eval(input())
A, B, C, D = N[0], N[1], N[2], N[3]
ops = ["+", "-"]
for op1 in ops:
    for op2 in ops:
        for op3 in ops:
            if eval(A + op1 + B + op2 + C + op3 + D) == 7:
                print((A + op1 + B + op2 + C + op3 + D + "=7"))
                exit()

-import itertools - -A, B, C, D = list(eval(input())) -op = ["+", "-"] -for op1, op2, op3 in itertools.product(op, op, op): -    x = A + op1 + B + op2 + C + op3 + D -    if eval(x) == 7: -        print((x + "=7")) -        break +N = eval(input()) +A, B, C, D = N[0], N[1], N[2], N[3] +ops = ["+", "-"] +for op1 in ops: +    for op2 in ops: +        for op3 in ops: +            if eval(A + op1 + B + op2 + C + op3 + D) == 7: +                print((A + op1 + B + op2 + C + op3 + D + "=7")) +                exit()