import math

import string

import collections

from collections import Counter





def readints():

    return list(map(int, input().split()))





def nCr(n, r):

    return math.factorial(n)//(math.factorial(n-r)*math.factorial(r))





def has_duplicates2(seq):

    seen = []

    for item in seq:

        if not(item in seen):

            seen.append(item)

    return len(seq) != len(seen)





def divisor(n):

    divisor = []

    for i in range(1, n+1):

        if n % i == 0:

            divisor.append(i)

    return divisor





# coordinates

dx = [-1, -1, -1, 0, 0, 1, 1, 1]

dy = [-1, 0, 1, -1, 1, -1, 0, 1]

a, b, c, d = list(map(int, eval(input())))

#print(a, b, c, d)

if a+b+c+d == 7:

    print((str(a)+'+'+str(b)+'+'+str(c)+'+'+str(d)+'=7'))

    exit()

if a+b-c+d == 7:

    print((str(a)+'+'+str(b)+'-'+str(c)+'+'+str(d)+'=7'))

    exit()

if a+b+c-d == 7:

    print((str(a)+'+'+str(b)+'+'+str(c)+'-'+str(d)+'=7'))

    exit()

if a+b-c-d == 7:

    print((str(a)+'+'+str(b)+'-'+str(c)+'-'+str(d)+'=7'))

    exit()

if a-b+c+d == 7:

    print((str(a)+'-'+str(b)+'+'+str(c)+'+'+str(d)+'=7'))

    exit()

if a-b-c+d == 7:

    print((str(a)+'-'+str(b)+'-'+str(c)+'+'+str(d)+'=7'))

    exit()

if a-b+c-d == 7:

    print((str(a)+'-'+str(b)+'+'+str(c)+'-'+str(d)+'=7'))

    exit()

if a-b-c-d == 7:

    print((str(a)+'-'+str(b)+'-'+str(c)+'-'+str(d)+'=7'))

    exit()

from copy import deepcopy

import math

import string

import collections

from collections import Counter

from collections import deque

from decimal import Decimal

import sys

import fractions

from operator import itemgetter

import itertools

import copy





def readints():

    return list(map(int, input().split()))





def nCr(n, r):

    return math.factorial(n)//(math.factorial(n-r)*math.factorial(r))





def has_duplicates2(seq):

    seen = []

    for item in seq:

        if not(item in seen):

            seen.append(item)

    return len(seq) != len(seen)





def divisor(n):

    divisor = []

    for i in range(1, n+1):

        if n % i == 0:

            divisor.append(i)

    return divisor





# coordinates

dx = [-1, -1, -1, 0, 0, 1, 1, 1]

dy = [-1, 0, 1, -1, 1, -1, 0, 1]



s = list(map(int, input()))



if s[0]+s[1]+s[2]+s[3] == 7:

    print(str(s[0]), '+', str(s[1]), '+',

          str(s[2]), '+', str(s[3]), '=', 7, sep='')

    exit()

if s[0]+s[1]-s[2]+s[3] == 7:

    print(str(s[0]), '+', str(s[1]), '-', str(s[2]),

          '+', str(s[3]),  '=', 7, sep='')

    exit()

if s[0]-s[1]+s[2]+s[3] == 7:

    print(str(s[0]), '-', str(s[1]), '+', str(s[2]),

          '+', str(s[3]),  '=', 7, sep='')

    exit()

if s[0]-s[1]-s[2]+s[3] == 7:

    print(str(s[0]), '-', str(s[1]), '-', str(s[2]),

          '+', str(s[3]),  '=', 7, sep='')

    exit()

if s[0]+s[1]+s[2]-s[3] == 7:

    print(str(s[0]), '+', str(s[1]), '+', str(s[2]),

          '-', str(s[3]),  '=', 7, sep='')

    exit()

if s[0]-s[1]-s[2]-s[3] == 7:

    print(str(s[0]), '-', str(s[1]), '-', str(s[2]),

          '-', str(s[3]),  '=', 7, sep='')

    exit()

if s[0]-s[1]+s[2]-s[3] == 7:

    print(str(s[0]), '-', str(s[1]), '+', str(s[2]),

          '-', str(s[3]),  '=', 7, sep='')

    exit()

if s[0]+s[1]-s[2]-s[3] == 7:

    print(str(s[0]), '+', str(s[1]), '-', str(s[2]),

          '-', str(s[3]),  '=', 7, sep='')

    exit()

import math
import string
import collections
from collections import Counter


def readints():
    return list(map(int, input().split()))


def nCr(n, r):
    return math.factorial(n) // (math.factorial(n - r) * math.factorial(r))


def has_duplicates2(seq):
    seen = []
    for item in seq:
        if not (item in seen):
            seen.append(item)
    return len(seq) != len(seen)


def divisor(n):
    divisor = []
    for i in range(1, n + 1):
        if n % i == 0:
            divisor.append(i)
    return divisor


# coordinates
dx = [-1, -1, -1, 0, 0, 1, 1, 1]
dy = [-1, 0, 1, -1, 1, -1, 0, 1]
a, b, c, d = list(map(int, eval(input())))
# print(a, b, c, d)
if a + b + c + d == 7:
    print((str(a) + "+" + str(b) + "+" + str(c) + "+" + str(d) + "=7"))
    exit()
if a + b - c + d == 7:
    print((str(a) + "+" + str(b) + "-" + str(c) + "+" + str(d) + "=7"))
    exit()
if a + b + c - d == 7:
    print((str(a) + "+" + str(b) + "+" + str(c) + "-" + str(d) + "=7"))
    exit()
if a + b - c - d == 7:
    print((str(a) + "+" + str(b) + "-" + str(c) + "-" + str(d) + "=7"))
    exit()
if a - b + c + d == 7:
    print((str(a) + "-" + str(b) + "+" + str(c) + "+" + str(d) + "=7"))
    exit()
if a - b - c + d == 7:
    print((str(a) + "-" + str(b) + "-" + str(c) + "+" + str(d) + "=7"))
    exit()
if a - b + c - d == 7:
    print((str(a) + "-" + str(b) + "+" + str(c) + "-" + str(d) + "=7"))
    exit()
if a - b - c - d == 7:
    print((str(a) + "-" + str(b) + "-" + str(c) + "-" + str(d) + "=7"))
    exit()

from copy import deepcopy
import math
import string
import collections
from collections import Counter
from collections import deque
from decimal import Decimal
import sys
import fractions
from operator import itemgetter
import itertools
import copy


def readints():
    return list(map(int, input().split()))


def nCr(n, r):
    return math.factorial(n) // (math.factorial(n - r) * math.factorial(r))


def has_duplicates2(seq):
    seen = []
    for item in seq:
        if not (item in seen):
            seen.append(item)
    return len(seq) != len(seen)


def divisor(n):
    divisor = []
    for i in range(1, n + 1):
        if n % i == 0:
            divisor.append(i)
    return divisor


# coordinates
dx = [-1, -1, -1, 0, 0, 1, 1, 1]
dy = [-1, 0, 1, -1, 1, -1, 0, 1]
s = list(map(int, input()))
if s[0] + s[1] + s[2] + s[3] == 7:
    print(str(s[0]), "+", str(s[1]), "+", str(s[2]), "+", str(s[3]), "=", 7, sep="")
    exit()
if s[0] + s[1] - s[2] + s[3] == 7:
    print(str(s[0]), "+", str(s[1]), "-", str(s[2]), "+", str(s[3]), "=", 7, sep="")
    exit()
if s[0] - s[1] + s[2] + s[3] == 7:
    print(str(s[0]), "-", str(s[1]), "+", str(s[2]), "+", str(s[3]), "=", 7, sep="")
    exit()
if s[0] - s[1] - s[2] + s[3] == 7:
    print(str(s[0]), "-", str(s[1]), "-", str(s[2]), "+", str(s[3]), "=", 7, sep="")
    exit()
if s[0] + s[1] + s[2] - s[3] == 7:
    print(str(s[0]), "+", str(s[1]), "+", str(s[2]), "-", str(s[3]), "=", 7, sep="")
    exit()
if s[0] - s[1] - s[2] - s[3] == 7:
    print(str(s[0]), "-", str(s[1]), "-", str(s[2]), "-", str(s[3]), "=", 7, sep="")
    exit()
if s[0] - s[1] + s[2] - s[3] == 7:
    print(str(s[0]), "-", str(s[1]), "+", str(s[2]), "-", str(s[3]), "=", 7, sep="")
    exit()
if s[0] + s[1] - s[2] - s[3] == 7:
    print(str(s[0]), "+", str(s[1]), "-", str(s[2]), "-", str(s[3]), "=", 7, sep="")
    exit()

+from copy import deepcopy +from collections import deque +from decimal import Decimal +import sys +import fractions +from operator import itemgetter +import itertools +import copy -a, b, c, d = list(map(int, eval(input()))) -# print(a, b, c, d) -if a + b + c + d == 7: -    print((str(a) + "+" + str(b) + "+" + str(c) + "+" + str(d) + "=7")) +s = list(map(int, input())) +if s[0] + s[1] + s[2] + s[3] == 7: +    print(str(s[0]), "+", str(s[1]), "+", str(s[2]), "+", str(s[3]), "=", 7, sep="") -if a + b - c + d == 7: -    print((str(a) + "+" + str(b) + "-" + str(c) + "+" + str(d) + "=7")) +if s[0] + s[1] - s[2] + s[3] == 7: +    print(str(s[0]), "+", str(s[1]), "-", str(s[2]), "+", str(s[3]), "=", 7, sep="") -if a + b + c - d == 7: -    print((str(a) + "+" + str(b) + "+" + str(c) + "-" + str(d) + "=7")) +if s[0] - s[1] + s[2] + s[3] == 7: +    print(str(s[0]), "-", str(s[1]), "+", str(s[2]), "+", str(s[3]), "=", 7, sep="") -if a + b - c - d == 7: -    print((str(a) + "+" + str(b) + "-" + str(c) + "-" + str(d) + "=7")) +if s[0] - s[1] - s[2] + s[3] == 7: +    print(str(s[0]), "-", str(s[1]), "-", str(s[2]), "+", str(s[3]), "=", 7, sep="") -if a - b + c + d == 7: -    print((str(a) + "-" + str(b) + "+" + str(c) + "+" + str(d) + "=7")) +if s[0] + s[1] + s[2] - s[3] == 7: +    print(str(s[0]), "+", str(s[1]), "+", str(s[2]), "-", str(s[3]), "=", 7, sep="") -if a - b - c + d == 7: -    print((str(a) + "-" + str(b) + "-" + str(c) + "+" + str(d) + "=7")) +if s[0] - s[1] - s[2] - s[3] == 7: +    print(str(s[0]), "-", str(s[1]), "-", str(s[2]), "-", str(s[3]), "=", 7, sep="") -if a - b + c - d == 7: -    print((str(a) + "-" + str(b) + "+" + str(c) + "-" + str(d) + "=7")) +if s[0] - s[1] + s[2] - s[3] == 7: +    print(str(s[0]), "-", str(s[1]), "+", str(s[2]), "-", str(s[3]), "=", 7, sep="") -if a - b - c - d == 7: -    print((str(a) + "-" + str(b) + "-" + str(c) + "-" + str(d) + "=7")) +if s[0] + s[1] - s[2] - s[3] == 7: +    print(str(s[0]), "+", str(s[1]), "-", str(s[2]), "-", str(s[3]), "=", 7, sep="")