import java.io.BufferedReader
import java.io.InputStreamReader

fun main(args: Array<String>) {
    val br = BufferedReader(InputStreamReader(System.`in`))
    val n = br.readLine()
    val a = n[0].toString().toInt()
    val b = n[1].toString().toInt()
    val c = n[2].toString().toInt()
    val d = n[3].toString().toInt()
    val sum = a + b + c + d
    val plus = "+"
    val minus = "-"
    val op = arrayOf(plus, plus, plus)
    if (sum == 7) {
        println("$a+$b+$c+$d=7")
    } else {
        val diff = (sum - 7) / 2
        when (diff) {
            b -> op[0] = minus
            c -> op[1] = minus
            d -> op[2] = minus
            b + c -> {
                op[0] = minus
                op[1] = minus
            }
            b + d -> {
                op[0] = minus
                op[2] = minus
            }
            c + d -> {
                op[1] = minus
                op[2] = minus
            }
        }
        println("$a${op[0]}$b${op[1]}$c${op[2]}$d=7")
    }
}
