a=list(eval(input()))

import copy

for i in range(2**3):

    b=[]

    c=copy.deepcopy(a)

    for j in range(3):

        if (i>>j)&1:

            b.append("+")

        else:

            b.append('-')

    c.insert(1,b[0])

    c.insert(3,b[1])

    c.insert(5,b[2])

    c=''.join(c)

    if eval(c)==7:

        print((c+"=7"))

        exit()
a=list(eval(input()))



for i in range(2**3):

    status=[0]*3

    s=""

    for j in range(3):

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

            status[j]="+"

        else:

            status[j]="-"

    for x,y in zip(a,status):

        s+=x

        s+=y

    s+=a[-1]

    if eval(s)==7:

        print((s+"=7"))

        exit()
a = list(eval(input()))
import copy

for i in range(2**3):
    b = []
    c = copy.deepcopy(a)
    for j in range(3):
        if (i >> j) & 1:
            b.append("+")
        else:
            b.append("-")
    c.insert(1, b[0])
    c.insert(3, b[1])
    c.insert(5, b[2])
    c = "".join(c)
    if eval(c) == 7:
        print((c + "=7"))
        exit()

a = list(eval(input()))
for i in range(2**3):
    status = [0] * 3
    s = ""
    for j in range(3):
        if (i >> j) & 1:
            status[j] = "+"
        else:
            status[j] = "-"
    for x, y in zip(a, status):
        s += x
        s += y
    s += a[-1]
    if eval(s) == 7:
        print((s + "=7"))
        exit()

-import copy - -    b = [] -    c = copy.deepcopy(a) +    status = [0] * 3 +    s = "" -            b.append("+") +            status[j] = "+" -            b.append("-") -    c.insert(1, b[0]) -    c.insert(3, b[1]) -    c.insert(5, b[2]) -    c = "".join(c) -    if eval(c) == 7: -        print((c + "=7")) +            status[j] = "-" +    for x, y in zip(a, status): +        s += x +        s += y +    s += a[-1] +    if eval(s) == 7: +        print((s + "=7"))