s = [int(x) for x in eval(input())]



import functools

@functools.lru_cache(maxsize=None)

def f(c, n):

    if n == 4:

        if c == 7:

            return []

        else:

            return None

    v = s[n]

    for o in ['+', '-']:

        ret = f(eval('%d%s%d'% (c,o,v)), n + 1)

        if ret is not None:

            return [o, v] + ret

print((''.join([str(x) for x in ([s[0]] + f(s[0], 1))]) + '=7'))
s = [int(x) for x in eval(input())]

 

def f(c, n):

    if n == 4:

        if eval(c) == 7:

            return c + "=7"

        else:

            return None

    v = s[n]

    for o in ['+', '-']:

        ret = f('%s%s%d' % (c,o,v), n + 1)

        if ret:

            return ret

print((f(str(s[0]), 1)))
s = [int(x) for x in eval(input())]
import functools


@functools.lru_cache(maxsize=None)
def f(c, n):
    if n == 4:
        if c == 7:
            return []
        else:
            return None
    v = s[n]
    for o in ["+", "-"]:
        ret = f(eval("%d%s%d" % (c, o, v)), n + 1)
        if ret is not None:
            return [o, v] + ret


print(("".join([str(x) for x in ([s[0]] + f(s[0], 1))]) + "=7"))

s = [int(x) for x in eval(input())]


def f(c, n):
    if n == 4:
        if eval(c) == 7:
            return c + "=7"
        else:
            return None
    v = s[n]
    for o in ["+", "-"]:
        ret = f("%s%s%d" % (c, o, v), n + 1)
        if ret:
            return ret


print((f(str(s[0]), 1)))

-import functools -@functools.lru_cache(maxsize=None) -        if c == 7: -            return [] +        if eval(c) == 7: +            return c + "=7" -        ret = f(eval("%d%s%d" % (c, o, v)), n + 1) -        if ret is not None: -            return [o, v] + ret +        ret = f("%s%s%d" % (c, o, v), n + 1) +        if ret: +            return ret -print(("".join([str(x) for x in ([s[0]] + f(s[0], 1))]) + "=7")) +print((f(str(s[0]), 1)))