abcd = input()
# bit全探索
for i in range(2**3):
    a = int(abcd[0])
    ans = abcd[0]
    for j in range(3):
        if (i >> j) & 1:
            a += int(abcd[j+1])
            ans += "+"+abcd[j+1]
        else:
            a -= int(abcd[j+1])
            ans += "-"+abcd[j+1]
    if a == 7:
        ans += "=7"
        print(ans)
        break

a4cf41af06c23b9dd6b271998122c13aa10d47c9
<mask token>

<mask token>
for i in range(2 ** 3):
    a = int(abcd[0])
    ans = abcd[0]
    for j in range(3):
        if i >> j & 1:
            a += int(abcd[j + 1])
            ans += '+' + abcd[j + 1]
        else:
            a -= int(abcd[j + 1])
            ans += '-' + abcd[j + 1]
    if a == 7:
        ans += '=7'
        print(ans)
        break

abcd = input()
for i in range(2 ** 3):
    a = int(abcd[0])
    ans = abcd[0]
    for j in range(3):
        if i >> j & 1:
            a += int(abcd[j + 1])
            ans += '+' + abcd[j + 1]
        else:
            a -= int(abcd[j + 1])
            ans += '-' + abcd[j + 1]
    if a == 7:
        ans += '=7'
        print(ans)
        break

abcd = input()
# bit全探索
for i in range(2**3):
    a = int(abcd[0])
    ans = abcd[0]
    for j in range(3):
        if (i >> j) & 1:
            a += int(abcd[j+1])
            ans += "+"+abcd[j+1]
        else:
            a -= int(abcd[j+1])
            ans += "-"+abcd[j+1]
    if a == 7:
        ans += "=7"
        print(ans)
        break
