import sys

a,b,c,d = eval(input())

for i in ["+","-"]:

  for j in ["+","-"]:

    for k in ["+","-"]:

      if eval(a+i+b+j+c+k+d) == 7:

        print((a+i+b+j+c+k+d+"=7"))

        sys.exit()
a,b,c,d = eval(input())

for i in range(2**3):

    ku = ["+", "+", "+"]

    for j in range(len(ku)):

        if(i>>j)&1:

           ku[j]= "-"

    if eval(a+ku[0]+b+ku[1]+c+ku[2]+d) == 7:

     print((a+ku[0]+b+ku[1]+c+ku[2]+d+"=7"))

     break
import sys

a, b, c, d = eval(input())
for i in ["+", "-"]:
    for j in ["+", "-"]:
        for k in ["+", "-"]:
            if eval(a + i + b + j + c + k + d) == 7:
                print((a + i + b + j + c + k + d + "=7"))
                sys.exit()

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

-import sys - -for i in ["+", "-"]: -    for j in ["+", "-"]: -        for k in ["+", "-"]: -            if eval(a + i + b + j + c + k + d) == 7: -                print((a + i + b + j + c + k + d + "=7")) -                sys.exit() +for i in range(2**3): +    ku = ["+", "+", "+"] +    for j in range(len(ku)): +        if (i >> j) & 1: +            ku[j] = "-" +    if eval(a + ku[0] + b + ku[1] + c + ku[2] + d) == 7: +        print((a + ku[0] + b + ku[1] + c + ku[2] + d + "=7")) +        break