local function ston(x,i)
    return tonumber(x:sub(i,i))
end
local function eo(i)
    if i%2==0 then
        return 1
    else
        return -1
    end
end
local function pm(i)
    if i%2==0 then
        return "+"
    else
        return "-"
    end
end

x=io.read()
a=ston(x,1)
b=ston(x,2)
c=ston(x,3)
d=ston(x,4)

for i=1,2 do
    for j=1,2 do
        for k=1,2 do
            if a+b*eo(i)+c*eo(j)+d*eo(k)==7 then
                print(a..pm(i)..b..pm(j)..c..pm(k)..d.."=7")
                return
            end
        end
    end
end