import itertools



S=eval(input())

sum1=0





for i in itertools.product(["+","-"],repeat=3):

    ans=""

    for j in range(3):

        if i[j]=="+":

            ans+=S[j]+i[j]

        elif i[j]=="-":

            ans+=S[j]+"-"

    ans+=S[-1]

    sum1=eval(ans)

    if sum1==7:

        print((ans+"="+str(7)))

        exit()

    

        
import itertools



S=eval(input())



for i in itertools.product(["+","-"],repeat=3):

    ans=""

    for j in range(3):

        if i[j]=="+":

            ans+=S[j]+i[j]

        elif i[j]=="-":

            ans+=S[j]+i[j]

    ans+=S[-1]

    sum1=eval(ans)

    if sum1==7:

        print((ans+"="+str(7)))

        exit()
import itertools

S = eval(input())
sum1 = 0
for i in itertools.product(["+", "-"], repeat=3):
    ans = ""
    for j in range(3):
        if i[j] == "+":
            ans += S[j] + i[j]
        elif i[j] == "-":
            ans += S[j] + "-"
    ans += S[-1]
    sum1 = eval(ans)
    if sum1 == 7:
        print((ans + "=" + str(7)))
        exit()

import itertools

S = eval(input())
for i in itertools.product(["+", "-"], repeat=3):
    ans = ""
    for j in range(3):
        if i[j] == "+":
            ans += S[j] + i[j]
        elif i[j] == "-":
            ans += S[j] + i[j]
    ans += S[-1]
    sum1 = eval(ans)
    if sum1 == 7:
        print((ans + "=" + str(7)))
        exit()

-sum1 = 0 -            ans += S[j] + "-" +            ans += S[j] + i[j]