a= list(str(eval(input())))





for i in range(2**3):

    x = ["+","+","+"]

    for j in range(len(a)):

        if (i >> j) & 1 == 1:

            x[j] = "-"

    if eval(a[0]+x[0]+a[1]+x[1]+a[2]+x[2]+a[3]) == 7:

        print((a[0]+x[0]+a[1]+x[1]+a[2]+x[2]+a[3]+"=7"))

        break 

from itertools import product



a = list(str(eval(input())))





for bit in product([0,1],repeat=3): # 01の組み合わせ

    x = ["+","+","+"]

    for i,j in enumerate(bit): 

        #print(bit,i,j)

        if j == 1:

            x[i] = "-"

    if eval(a[0]+x[0]+a[1]+x[1]+a[2]+x[2]+a[3]) == 7:

        print((a[0]+x[0]+a[1]+x[1]+a[2]+x[2]+a[3]+"=7"))

        break 





"""       i j

(0, 0, 0) 0 0

(0, 0, 0) 1 0

(0, 0, 0) 2 0



(0, 0, 1) 0 0

(0, 0, 1) 1 0

(0, 0, 1) 2 1



(0, 1, 0) 0 0

(0, 1, 0) 1 1

(0, 1, 0) 2 0



(0, 1, 1) 0 0

(0, 1, 1) 1 1

(0, 1, 1) 2 1



(1, 0, 0) 0 1

(1, 0, 0) 1 0

(1, 0, 0) 2 0



(1, 0, 1) 0 1

(1, 0, 1) 1 0

(1, 0, 1) 2 1



(1, 1, 0) 0 1

(1, 1, 0) 1 1

(1, 1, 0) 2 0



(1, 1, 1) 0 1

(1, 1, 1) 1 1

(1, 1, 1) 2 1

"""

            
a = list(str(eval(input())))
for i in range(2**3):
    x = ["+", "+", "+"]
    for j in range(len(a)):
        if (i >> j) & 1 == 1:
            x[j] = "-"
    if eval(a[0] + x[0] + a[1] + x[1] + a[2] + x[2] + a[3]) == 7:
        print((a[0] + x[0] + a[1] + x[1] + a[2] + x[2] + a[3] + "=7"))
        break

from itertools import product

a = list(str(eval(input())))
for bit in product([0, 1], repeat=3):  # 01の組み合わせ
    x = ["+", "+", "+"]
    for i, j in enumerate(bit):
        # print(bit,i,j)
        if j == 1:
            x[i] = "-"
    if eval(a[0] + x[0] + a[1] + x[1] + a[2] + x[2] + a[3]) == 7:
        print((a[0] + x[0] + a[1] + x[1] + a[2] + x[2] + a[3] + "=7"))
        break
"""       i j
(0, 0, 0) 0 0
(0, 0, 0) 1 0
(0, 0, 0) 2 0
(0, 0, 1) 0 0
(0, 0, 1) 1 0
(0, 0, 1) 2 1
(0, 1, 0) 0 0
(0, 1, 0) 1 1
(0, 1, 0) 2 0
(0, 1, 1) 0 0
(0, 1, 1) 1 1
(0, 1, 1) 2 1
(1, 0, 0) 0 1
(1, 0, 0) 1 0
(1, 0, 0) 2 0
(1, 0, 1) 0 1
(1, 0, 1) 1 0
(1, 0, 1) 2 1
(1, 1, 0) 0 1
(1, 1, 0) 1 1
(1, 1, 0) 2 0
(1, 1, 1) 0 1
(1, 1, 1) 1 1
(1, 1, 1) 2 1
"""

+from itertools import product + -for i in range(2**3): +for bit in product([0, 1], repeat=3):  # 01の組み合わせ -    for j in range(len(a)): -        if (i >> j) & 1 == 1: -            x[j] = "-" +    for i, j in enumerate(bit): +        # print(bit,i,j) +        if j == 1: +            x[i] = "-" +"""       i j +(0, 0, 0) 0 0 +(0, 0, 0) 1 0 +(0, 0, 0) 2 0 +(0, 0, 1) 0 0 +(0, 0, 1) 1 0 +(0, 0, 1) 2 1 +(0, 1, 0) 0 0 +(0, 1, 0) 1 1 +(0, 1, 0) 2 0 +(0, 1, 1) 0 0 +(0, 1, 1) 1 1 +(0, 1, 1) 2 1 +(1, 0, 0) 0 1 +(1, 0, 0) 1 0 +(1, 0, 0) 2 0 +(1, 0, 1) 0 1 +(1, 0, 1) 1 0 +(1, 0, 1) 2 1 +(1, 1, 0) 0 1 +(1, 1, 0) 1 1 +(1, 1, 0) 2 0 +(1, 1, 1) 0 1 +(1, 1, 1) 1 1 +(1, 1, 1) 2 1 +"""