//package Qc
import java.util.*
import java.math.*
import java.lang.Math.*

private val readString: ()->String = {readLine()!!}
private val readInt: ()->Int = {readLine()!!.toInt()}
private val readLong: ()->Long = {readLine()!!.toLong()}
private val readIntArray: ()->IntArray = {readLine()!!.split(' ').map{it.toInt()}.toIntArray()}
private val readLongArray: ()->LongArray = {readLine()!!.split(' ').map{it.toLong()}.toLongArray()}
private val errPrintln: (String)->Unit = {msg -> System.err.println(msg)}
private val MOD = 1e9.toLong()+7
private val INF = Int.MAX_VALUE/2
private val LINF = Long.MAX_VALUE/2


fun solveC(A: IntArray): String {
    val N = A.size
    var res = ""
    for (p in 0 until (1 shl N)) {
        if ((p shr (N-1)) and 1 == 1) continue

        var ptn = p
        var sum = A[0]
        for (i in 1 until N) {
            if (ptn and 0b01 == 0) {
                sum += A[i]
            } else {
                sum -= A[i]
            }
            ptn = ptn shr 1
        }
        if (sum == 7) {
            ptn = p
            res = "${A[0]}"
            for (i in 1 until N) {
                if (ptn and 0b01 == 0) {
                    res += "+${A[i]}"
                } else {
                    res += "-${A[i]}"
                }
                ptn = ptn shr 1
            }
            res += "=7"
            break
        }
    }

    return res
}


fun main(args: Array<String>) {
    val S = readString()
    val A = S.toCharArray().map { it-'0' }.toIntArray()

    val ans = solveC(A)

    println(ans)
}
