def main():

    S = input()

    for bit in range(1 << 3):

        calc_v = int(S[0])

        ans = [S[0]]

        for i in range(3):

            if bit & (1 << i):

                calc_v += int(S[i+1])

                ans.append("+")

                ans.append(S[i+1])

            else:

                calc_v -= int(S[i+1])

                ans.append("-")

                ans.append(S[i+1])

        if calc_v == 7:

            return print("".join(ans)+"=7")





if __name__ == '__main__':

    main()

def main():

    S = input()

    for bit in range(1 << 3):

        ans = int(S[0])

        T = S[0]

        for i in range(3):

            if bit & (1 << i):

                ans += int(S[i+1])

                T += "+"+S[i+1]

            else:

                ans -= int(S[i+1])

                T += "-"+S[i+1]

        if ans == 7:

            return print(T+"=7")





if __name__ == '__main__':

    main()

def main():
    S = input()
    for bit in range(1 << 3):
        calc_v = int(S[0])
        ans = [S[0]]
        for i in range(3):
            if bit & (1 << i):
                calc_v += int(S[i + 1])
                ans.append("+")
                ans.append(S[i + 1])
            else:
                calc_v -= int(S[i + 1])
                ans.append("-")
                ans.append(S[i + 1])
        if calc_v == 7:
            return print("".join(ans) + "=7")


if __name__ == "__main__":
    main()

def main():
    S = input()
    for bit in range(1 << 3):
        ans = int(S[0])
        T = S[0]
        for i in range(3):
            if bit & (1 << i):
                ans += int(S[i + 1])
                T += "+" + S[i + 1]
            else:
                ans -= int(S[i + 1])
                T += "-" + S[i + 1]
        if ans == 7:
            return print(T + "=7")


if __name__ == "__main__":
    main()

-        calc_v = int(S[0]) -        ans = [S[0]] +        ans = int(S[0]) +        T = S[0] -                calc_v += int(S[i + 1]) -                ans.append("+") -                ans.append(S[i + 1]) +                ans += int(S[i + 1]) +                T += "+" + S[i + 1] -                calc_v -= int(S[i + 1]) -                ans.append("-") -                ans.append(S[i + 1]) -        if calc_v == 7: -            return print("".join(ans) + "=7") +                ans -= int(S[i + 1]) +                T += "-" + S[i + 1] +        if ans == 7: +            return print(T + "=7")