fun main(args: Array<String>) {
    val l = readLine()!!.map(Char::toString).map(String::toInt)
    for (bit in 0 until (1 shl 3)) {
        var tmp = l[0]
        val list = mutableListOf<String>()
        list += l[0].toString()
        for (i in 0 until 3) {
            if (1 and (bit shr i) == 0) {
                list += "+"
                list += l[i + 1].toString()
                tmp += l[i + 1]
            } else {
                list += "-"
                list += l[i + 1].toString()
                tmp -= l[i + 1]
            }
        }
        if (tmp == 7) {
            list.joinToString(separator = "", postfix = "=$tmp").let(::println)
            return
        }
    }
}