import java.util.*

fun main(args: Array<String>) {
    val sc = Scanner(System.`in`)
    val abcd = sc.next().map { it.toString().toInt() }

    println(rec(abcd.drop(1), abcd.first().toString(), abcd.first()) + "=7")
}

private fun rec(values: List<Int>, ce: String, cur: Int): String? {
    val v = values.firstOrNull() ?: return if (cur == 7) ce else null

    rec(values.drop(1), ce + "+" + v, cur + v)?.run { return this }
    rec(values.drop(1), ce + "-" + v, cur - v)?.run { return this }

    return null
}