def dfs(i, sum, n, s, k):

    # n 個決め終わったら、今までの和 sum が k と等しいかを返す

    if i == n  - 1:

#         print(sum)

        if eval(sum) == k:

            print((sum+"=7"))

        return eval(sum) == k

    # + を使う

    if dfs(i + 1, sum + "-" +  s[i+1],n,s,k):

        return True

    

    # - を使う

    if dfs(i + 1, sum + "+" + s[i+1],n,s,k):

        return True

#     print(sum)

    return False



def main():

    s = eval(input())

    n = len(s)

    k = 7



    if dfs(0, s[0], n, s,k):

        pass

    else:

        pass

if __name__ == '__main__':

    main()
s = eval(input())

n = len(s)



def dfs(i, f):



    if i == n-1:

        if eval(f)==7: 

            print((f+"=7"))

            exit()

        else: 

            return False

    else:

        dfs(i+1,f + "+" + s[i+1])

        dfs(i+1,f + "-" + s[i+1])

    

def main():

    if dfs(0,s[0]):

        exit()



if __name__ == '__main__':

    main()
def dfs(i, sum, n, s, k):
    # n 個決め終わったら、今までの和 sum が k と等しいかを返す
    if i == n - 1:
        #         print(sum)
        if eval(sum) == k:
            print((sum + "=7"))
        return eval(sum) == k
    # + を使う
    if dfs(i + 1, sum + "-" + s[i + 1], n, s, k):
        return True
    # - を使う
    if dfs(i + 1, sum + "+" + s[i + 1], n, s, k):
        return True
    #     print(sum)
    return False


def main():
    s = eval(input())
    n = len(s)
    k = 7
    if dfs(0, s[0], n, s, k):
        pass
    else:
        pass


if __name__ == "__main__":
    main()

s = eval(input())
n = len(s)


def dfs(i, f):
    if i == n - 1:
        if eval(f) == 7:
            print((f + "=7"))
            exit()
        else:
            return False
    else:
        dfs(i + 1, f + "+" + s[i + 1])
        dfs(i + 1, f + "-" + s[i + 1])


def main():
    if dfs(0, s[0]):
        exit()


if __name__ == "__main__":
    main()

-def dfs(i, sum, n, s, k): -    # n 個決め終わったら、今までの和 sum が k と等しいかを返す +s = eval(input()) +n = len(s) + + +def dfs(i, f): -        #         print(sum) -        if eval(sum) == k: -            print((sum + "=7")) -        return eval(sum) == k -    # + を使う -    if dfs(i + 1, sum + "-" + s[i + 1], n, s, k): -        return True -    # - を使う -    if dfs(i + 1, sum + "+" + s[i + 1], n, s, k): -        return True -    #     print(sum) -    return False +        if eval(f) == 7: +            print((f + "=7")) +            exit() +        else: +            return False +    else: +        dfs(i + 1, f + "+" + s[i + 1]) +        dfs(i + 1, f + "-" + s[i + 1]) -    s = eval(input()) -    n = len(s) -    k = 7 -    if dfs(0, s[0], n, s, k): -        pass -    else: -        pass +    if dfs(0, s[0]): +        exit()