from itertools import product

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

for z in product(("+","-"),repeat=3):

    if eval(A+z[0]+B+z[1]+C+z[2]+D)==7:

        print((A+z[0]+B+z[1]+C+z[2]+D+"=7"))

        break
from itertools import product

A,B,C,D = list(input().strip())

for x in product(("+","-"),repeat=3):

    if eval(A+x[0]+B+x[1]+C+x[2]+D)==7:

        print((A+x[0]+B+x[1]+C+x[2]+D+"=7"))

        break
from itertools import product

A, B, C, D = list(eval(input()))
for z in product(("+", "-"), repeat=3):
    if eval(A + z[0] + B + z[1] + C + z[2] + D) == 7:
        print((A + z[0] + B + z[1] + C + z[2] + D + "=7"))
        break

from itertools import product

A, B, C, D = list(input().strip())
for x in product(("+", "-"), repeat=3):
    if eval(A + x[0] + B + x[1] + C + x[2] + D) == 7:
        print((A + x[0] + B + x[1] + C + x[2] + D + "=7"))
        break

-A, B, C, D = list(eval(input())) -for z in product(("+", "-"), repeat=3): -    if eval(A + z[0] + B + z[1] + C + z[2] + D) == 7: -        print((A + z[0] + B + z[1] + C + z[2] + D + "=7")) +A, B, C, D = list(input().strip()) +for x in product(("+", "-"), repeat=3): +    if eval(A + x[0] + B + x[1] + C + x[2] + D) == 7: +        print((A + x[0] + B + x[1] + C + x[2] + D + "=7"))