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()
a = int(s[0])
b = int(s[1])
c = int(s[2])
d = int(s[3])

for op1 in "-+":
    for op2 in "-+":
        for op3 in "-+":
            e = 0
            e += a + b if op1 == '+' else a - b
            e += c if op2 == '+' else -c
            e += d if op3 == '+' else -d
            if e == 7:
                s = str(a) + op1 + str(b) + op2 + str(c) + op3 + str(d)
                print(e)
                exit(0)





s = input()
a = int(s[0])
b = int(s[1])
c = int(s[2])
d = int(s[3])

for op1 in "-+":
    for op2 in "-+":
        for op3 in "-+":
            e = 0
            e += a + b if op1 == '+' else a - b
            e += c if op2 == '+' else -c
            e += d if op3 == '+' else -d
            if e == 7:
                s = str(a) + op1 + str(b) + op2 + str(c) + op3 + str(d)
                print(s + "=7")
                exit(0)


