n = list(map(int,input().rstrip()))

for i in range(2**3):

  ope = []

  ans = n[0]

  for j in range(3):

    if (i >> j) & 1:

      ope.append("+")

      ans += n[j+1]

    else:

      ope.append("-")

      ans -= n[j+1]

  if ans == 7:

    res = [ope[i]+str(n[1+i]) for i in range(3)]

    res = "".join(res)

    res = str(n[0]) + res + "=7"

    print(res)

    break
n = list(map(int,input().rstrip()))

for i in range(2**3):

  ope = ["-"] * 3

  ans = n[0]

  for j in range(3):

    if (i >> j) & 1:

      ope[j] = "+"

      ans += n[j+1]

    else:

      ans -= n[j+1]

  if ans == 7:

    res = [ope[i]+str(n[1+i]) for i in range(3)]

    res = "".join(res)

    res = str(n[0]) + res + "=7"

    print(res)

    break
n = list(map(int, input().rstrip()))
for i in range(2**3):
    ope = []
    ans = n[0]
    for j in range(3):
        if (i >> j) & 1:
            ope.append("+")
            ans += n[j + 1]
        else:
            ope.append("-")
            ans -= n[j + 1]
    if ans == 7:
        res = [ope[i] + str(n[1 + i]) for i in range(3)]
        res = "".join(res)
        res = str(n[0]) + res + "=7"
        print(res)
        break

n = list(map(int, input().rstrip()))
for i in range(2**3):
    ope = ["-"] * 3
    ans = n[0]
    for j in range(3):
        if (i >> j) & 1:
            ope[j] = "+"
            ans += n[j + 1]
        else:
            ans -= n[j + 1]
    if ans == 7:
        res = [ope[i] + str(n[1 + i]) for i in range(3)]
        res = "".join(res)
        res = str(n[0]) + res + "=7"
        print(res)
        break

-    ope = [] +    ope = ["-"] * 3 -            ope.append("+") +            ope[j] = "+" -            ope.append("-")