# -*- coding: utf-8 -*-



import itertools



ABCD = eval(input())

l = len(ABCD)

cs = itertools.product(['+', '-'], repeat=l-1)



ans = 0

for c in cs:

    ex = ''.join([ABCD[i] + c[i] for i in range(l-1)] + [ABCD[-1]])

    exec("ans = {}".format(ex))

    if ans == 7:

        break



print((ex + "=7"))

import itertools



S = eval(input())



for op1, op2, op3 in itertools.product('+-', repeat=3):

    if eval(S[0] + op1 + S[1] + op2 + S[2] + op3 + S[3]) == 7:

        print((S[0] + op1 + S[1] + op2 + S[2] + op3 + S[3] + "=7"))

        exit()

# -*- coding: utf-8 -*-
import itertools

ABCD = eval(input())
l = len(ABCD)
cs = itertools.product(["+", "-"], repeat=l - 1)
ans = 0
for c in cs:
    ex = "".join([ABCD[i] + c[i] for i in range(l - 1)] + [ABCD[-1]])
    exec("ans = {}".format(ex))
    if ans == 7:
        break
print((ex + "=7"))

import itertools

S = eval(input())
for op1, op2, op3 in itertools.product("+-", repeat=3):
    if eval(S[0] + op1 + S[1] + op2 + S[2] + op3 + S[3]) == 7:
        print((S[0] + op1 + S[1] + op2 + S[2] + op3 + S[3] + "=7"))
        exit()

-# -*- coding: utf-8 -*- -ABCD = eval(input()) -l = len(ABCD) -cs = itertools.product(["+", "-"], repeat=l - 1) -ans = 0 -for c in cs: -    ex = "".join([ABCD[i] + c[i] for i in range(l - 1)] + [ABCD[-1]]) -    exec("ans = {}".format(ex)) -    if ans == 7: -        break -print((ex + "=7")) +S = eval(input()) +for op1, op2, op3 in itertools.product("+-", repeat=3): +    if eval(S[0] + op1 + S[1] + op2 + S[2] + op3 + S[3]) == 7: +        print((S[0] + op1 + S[1] + op2 + S[2] + op3 + S[3] + "=7")) +        exit()