Sitting in a station waiting room, Joisino is gazing at her train ticket.  The ticket is numbered with four digits A, B, C and D in this order, each between 0 and 9 (inclusive).  In the formula A op1 B op2 C op3 D = 7, replace each of the symbols op1, op2 and op3 with `+` or `-` so that the formula holds.  The given input guarantees that there is a solution. If there are multiple solutions, any of them will be accepted.
S = input()
S_list = list(S)
n = len(S) 
a = []

list_0or1 = [0] * (n-1)
check = []

def f(i):
    if i == n-1 :
        check.append(list_0or1.copy())
    if i != n-1:
        list_0or1[i] = 0
        f(i+1)
    if i != n-1:
        list_0or1[i] = 1
        f(i+1)
f(0)

sum_list = []
s_list = []
for i in range(len(check)):
    S_list_copy = S_list.copy()
    for j in range(n-1) :
        if check[i][j] == 1 :
            S_list_copy[j+1] = '+' + S_list_copy[j+1]
        if check[i][j] == 0 :
            S_list_copy[j+1] = '-' + S_list_copy[j+1]
    S_list_copy = ''.join(S_list_copy)
    sum_list.append(S_list_copy)
    S_list_copy = [int(S_list_copy[0]), int(S_list_copy[2]), int(S_list_copy[4]), int(S_list_copy[6])]
    s = S_list_copy[0]
    for j in range(n-1) :
        if check[i][j] == 1 :
            s = s + S_list_copy[j+1]
        if check[i][j] == 0 :
            s = s - S_list_copy[j+1]
    s_list.append(s) 
if 7 in s_list:
    print(sum_list[s_list.index(7)])
S = input()
S_list = list(S)
n = len(S) 
a = []

list_0or1 = [0] * (n-1)
check = []

def f(i):
    if i == n-1 :
        check.append(list_0or1.copy())
    if i != n-1:
        list_0or1[i] = 0
        f(i+1)
    if i != n-1:
        list_0or1[i] = 1
        f(i+1)
f(0)

sum_list = []
s_list = []
for i in range(len(check)):
    S_list_copy = S_list.copy()
    for j in range(n-1) :
        if check[i][j] == 1 :
            S_list_copy[j+1] = '+' + S_list_copy[j+1]
        if check[i][j] == 0 :
            S_list_copy[j+1] = '-' + S_list_copy[j+1]
    S_list_copy = ''.join(S_list_copy)
    sum_list.append(S_list_copy)
    S_list_copy = [int(S_list_copy[0]), int(S_list_copy[2]), int(S_list_copy[4]), int(S_list_copy[6])]
    s = S_list_copy[0]
    for j in range(n-1) :
        if check[i][j] == 1 :
            s = s + S_list_copy[j+1]
        if check[i][j] == 0 :
            s = s - S_list_copy[j+1]
    s_list.append(s) 
if 7 in s_list:
    print(sum_list[s_list.index(7)]+'=7')