#!/usr/bin/env python3

N = eval(input())



for i in range(8):

    num = [int(i) for i in N]

    for j in range(3):

        if (i >> j) % 2 == 1:

            num[-j - 1] *= -1

    if sum(num) == 7:

        print(('{:d}{:+d}{:+d}{:+d}=7'.format(num[0], num[1], num[2], num[3])))

        break

#!/usr/bin/env python3

N = eval(input())



for i in range(1 << 3):

    s = N[0]

    for j in range(3):

        s += '+-'[i >> j & 1] + N[j + 1]

    if eval(s) == 7:

        print((s + '=7'))

        break

#!/usr/bin/env python3
N = eval(input())
for i in range(8):
    num = [int(i) for i in N]
    for j in range(3):
        if (i >> j) % 2 == 1:
            num[-j - 1] *= -1
    if sum(num) == 7:
        print(("{:d}{:+d}{:+d}{:+d}=7".format(num[0], num[1], num[2], num[3])))
        break

#!/usr/bin/env python3
N = eval(input())
for i in range(1 << 3):
    s = N[0]
    for j in range(3):
        s += "+-"[i >> j & 1] + N[j + 1]
    if eval(s) == 7:
        print((s + "=7"))
        break

-for i in range(8): -    num = [int(i) for i in N] +for i in range(1 << 3): +    s = N[0] -        if (i >> j) % 2 == 1: -            num[-j - 1] *= -1 -    if sum(num) == 7: -        print(("{:d}{:+d}{:+d}{:+d}=7".format(num[0], num[1], num[2], num[3]))) +        s += "+-"[i >> j & 1] + N[j + 1] +    if eval(s) == 7: +        print((s + "=7"))