fun main(args: Array<String>) {
    val sDash = readLine()?.split("").orEmpty().drop(1).dropLast(1)
    var answer = ""
    val opeList = listOf<String>("+++","++-","+-+","+--","-++","-+-","--+","---")

    run loop@{
        opeList.forEach{
            var result = sDash[0].toInt()
            result += if(it[0] == '+') sDash[1].toInt() else - sDash[1].toInt()
            result += if(it[1] == '+') sDash[2].toInt() else - sDash[2].toInt()
            result += if(it[2] == '+') sDash[3].toInt() else - sDash[3].toInt()

            if(result == 7){
                answer = sDash[0] + it[0] +sDash[1] + it[1] +sDash[2] + it[2] +sDash[3] + "=7"
                return@loop
            }
        }


    }



    println(answer)
}