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

    fun f(sum: Int, op: List<Char>, i: Int): Boolean {
        if (i == S.size) {
            if (sum != 7)
                return false

            println("${S[0]}${op[0]}${S[1]}${op[1]}${S[2]}${op[2]}${S[3]}=7")
            return true
        }
        return f(sum + S[i], op + '+', i + 1) || f(sum - S[i], op + '-', i + 1)
    }

    f(S[0], listOf(), 1)
}

fun readString() = readLine()!!