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.
# # ABCD = input()
# # fill = 0000




# S = input()
# result = 0



#     output = S[0]
#     for j in range(len(S) - 1):
#         if ((i >> j) & 1):
#             output += '+'
#         output += S[j+1]
#     result += eval(output)
# print(result)

ABCD = input()
result = 0

output=[]

for i in range(4):
    output += "+"
    output += ABCD[i]
output = ''.join(output)
print(eval(output))


for i in range(16): 
    result = output 
    for j in range (4):
        if( (i>>j) & 1 ):
            result = list(result)
            result[j*2] = "-"
            result = ''.join(result)
    # print("-------")
    # print(result)
    if eval(result)==7:
        if(result[0]=="+"):
            print(result[1:]+"=7")
        else:
            print(result+"=7")
        exit()
ABCD = input()
result = 0

output=[]

for i in range(4):
    output += "+"
    output += ABCD[i]
output = ''.join(output)


for i in range(4**2): 
    result = output 
    for j in range (4):
        if( (i>>j) & 1 ):
            result = list(result)
            result[j*2] = "-"
            result = ''.join(result)
    # print("-------")
    # print(result)
    if eval(result)==7:
        if(result[0]=="+"):
            print(result[1:]+"=7")
            exit()