#/usr/bin/env python



def main():

    s = eval(input())

    op_cnt = len(s) -1

    for i in range(1<<op_cnt):

        op = ["-"] * op_cnt

        for j in range(op_cnt):

            if ((i >> j) & 1):

                op[op_cnt -1 -j] = "+"



        formula = ""

        for p_n, p_o in zip(s, op+[""]):

            formula += (p_n + p_o)

        if eval(formula) == 7:

            print((formula + "=7"))

            break



if __name__ == '__main__':

    main()
#!/usr/bin/env python



def main():

    S = eval(input())



    for i in range(1 << 3):

        operator = ["-", "-", "-"] 

        for j in range(3):

            if ((i >> j) & 1):

                operator[j] = "+"

        formula = ""

        for s, op in zip(S, operator + [""]):

            formula += s + op

        if eval(formula) == 7:

            print((formula + "=7"))

            break



if __name__ == '__main__':

    main()

# /usr/bin/env python
def main():
    s = eval(input())
    op_cnt = len(s) - 1
    for i in range(1 << op_cnt):
        op = ["-"] * op_cnt
        for j in range(op_cnt):
            if (i >> j) & 1:
                op[op_cnt - 1 - j] = "+"
        formula = ""
        for p_n, p_o in zip(s, op + [""]):
            formula += p_n + p_o
        if eval(formula) == 7:
            print((formula + "=7"))
            break


if __name__ == "__main__":
    main()

#!/usr/bin/env python
def main():
    S = eval(input())
    for i in range(1 << 3):
        operator = ["-", "-", "-"]
        for j in range(3):
            if (i >> j) & 1:
                operator[j] = "+"
        formula = ""
        for s, op in zip(S, operator + [""]):
            formula += s + op
        if eval(formula) == 7:
            print((formula + "=7"))
            break


if __name__ == "__main__":
    main()

-# /usr/bin/env python +#!/usr/bin/env python -    s = eval(input()) -    op_cnt = len(s) - 1 -    for i in range(1 << op_cnt): -        op = ["-"] * op_cnt -        for j in range(op_cnt): +    S = eval(input()) +    for i in range(1 << 3): +        operator = ["-", "-", "-"] +        for j in range(3): -                op[op_cnt - 1 - j] = "+" +                operator[j] = "+" -        for p_n, p_o in zip(s, op + [""]): -            formula += p_n + p_o +        for s, op in zip(S, operator + [""]): +            formula += s + op