from itertools import product

a=list(eval(input()))



for b in product(["+","-"],repeat=3):

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

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

    break
from itertools import product

import sys



S = str(eval(input()))

A = list(product(['+', '-'], repeat=3))



for a in A:

    ans = 0

    tmp = ""

    for i in range(len(S)-1):

        tmp += S[i]+a[i]

    tmp += S[len(S)-1]

    ans += eval(tmp)

    if ans == 7:

        print((tmp+"=7"))

        sys.exit()

from itertools import product

a = list(eval(input()))
for b in product(["+", "-"], repeat=3):
    if eval(a[0] + b[0] + a[1] + b[1] + a[2] + b[2] + a[3]) == 7:
        print((str(a[0] + b[0] + a[1] + b[1] + a[2] + b[2] + a[3] + "=7")))
        break

from itertools import product
import sys

S = str(eval(input()))
A = list(product(["+", "-"], repeat=3))
for a in A:
    ans = 0
    tmp = ""
    for i in range(len(S) - 1):
        tmp += S[i] + a[i]
    tmp += S[len(S) - 1]
    ans += eval(tmp)
    if ans == 7:
        print((tmp + "=7"))
        sys.exit()

+import sys -a = list(eval(input())) -for b in product(["+", "-"], repeat=3): -    if eval(a[0] + b[0] + a[1] + b[1] + a[2] + b[2] + a[3]) == 7: -        print((str(a[0] + b[0] + a[1] + b[1] + a[2] + b[2] + a[3] + "=7"))) -        break +S = str(eval(input())) +A = list(product(["+", "-"], repeat=3)) +for a in A: +    ans = 0 +    tmp = "" +    for i in range(len(S) - 1): +        tmp += S[i] + a[i] +    tmp += S[len(S) - 1] +    ans += eval(tmp) +    if ans == 7: +        print((tmp + "=7")) +        sys.exit()