fun main(args: Array<String>) {
    val d = readLine()!!.map {it-'0'}

    for (i in 0 until 8) {
        var sol = d[0]
        var pr = "$sol"
        for (j in 0 until 3) {
            if (i and (1 shl j) != 0) {
                pr += "+${d[j+1]}"
                sol += d[j+1]
            }
            else {
                pr += "-${d[j+1]}"
                sol -= d[j+1]
            }
        }
        if (sol == 7) {
            println("$pr=7")
            return
        }
    }
}