s = list(eval(input()))

import sys

def bitlist(n, a, b):

  res = []

  for i in range(2**n):

    pattern = []

    for j in range(n):

      if (i >> j) & 1:

        pattern.insert(0, a)

      else:

        pattern.insert(0, b)

    res.append(pattern)

  return res



n = len(s)

lst = bitlist(n-1, "+", "-")

for i in range(2**n):

  calc = int(s[0])

  for j in range(n-1):

    if lst[i][j] == "+":

      calc += int(s[j+1])

    else:

      calc -= int(s[j+1])

  if calc == 7:

    res = s[0]

    for k in range(n-1):

      res += lst[i][k] + s[k+1]

    res += "=7"

    print(res)

    sys.exit()
s = list(eval(input()))

import sys

def bitlist(n, a, b):

  res = []

  for i in range(2**n):

    pattern = []

    for j in range(n):

      if (i >> j) & 1:

        pattern.insert(0, a)

      else:

        pattern.insert(0, b)

    res.append(pattern)

  return res



n = len(s)

lst = bitlist(n-1, "+", "-")

for i in range(2**(n-1)):

  calc = s[0]

  for j in range(n-1):

    calc += lst[i][j] + s[j+1]

  if eval(calc) == 7:

    calc += "=7"

    print(calc)

    sys.exit()
s = list(eval(input()))
import sys


def bitlist(n, a, b):
    res = []
    for i in range(2**n):
        pattern = []
        for j in range(n):
            if (i >> j) & 1:
                pattern.insert(0, a)
            else:
                pattern.insert(0, b)
        res.append(pattern)
    return res


n = len(s)
lst = bitlist(n - 1, "+", "-")
for i in range(2**n):
    calc = int(s[0])
    for j in range(n - 1):
        if lst[i][j] == "+":
            calc += int(s[j + 1])
        else:
            calc -= int(s[j + 1])
    if calc == 7:
        res = s[0]
        for k in range(n - 1):
            res += lst[i][k] + s[k + 1]
        res += "=7"
        print(res)
        sys.exit()

s = list(eval(input()))
import sys


def bitlist(n, a, b):
    res = []
    for i in range(2**n):
        pattern = []
        for j in range(n):
            if (i >> j) & 1:
                pattern.insert(0, a)
            else:
                pattern.insert(0, b)
        res.append(pattern)
    return res


n = len(s)
lst = bitlist(n - 1, "+", "-")
for i in range(2 ** (n - 1)):
    calc = s[0]
    for j in range(n - 1):
        calc += lst[i][j] + s[j + 1]
    if eval(calc) == 7:
        calc += "=7"
        print(calc)
        sys.exit()

-for i in range(2**n): -    calc = int(s[0]) +for i in range(2 ** (n - 1)): +    calc = s[0] -        if lst[i][j] == "+": -            calc += int(s[j + 1]) -        else: -            calc -= int(s[j + 1]) -    if calc == 7: -        res = s[0] -        for k in range(n - 1): -            res += lst[i][k] + s[k + 1] -        res += "=7" -        print(res) +        calc += lst[i][j] + s[j + 1] +    if eval(calc) == 7: +        calc += "=7" +        print(calc)