fun main(args: Array<String>) {
    val abcd = readLine()!!
    val len = abcd.length

    for (bit in 0 until (1 shl len-1)) {
        var ans = abcd[0].toString()
        var sum = abcd[0] - '0'
        for (i in 0 until len-1) {
            if (bit and (1 shl i) != 0) {
                // +
                sum += abcd[i + 1] - '0'
                ans += "+" + abcd[i + 1]
            } else {
                // -
                sum -= abcd[i + 1] - '0'
                ans += "-" + abcd[i + 1]
            }
        }
        if (sum == 7) {
            println("$ans=7")
            break
        }
    }
}