enum class Op(val chr: Char){
    plus('+'),
    minus('-')
}


fun reccalc(acc: Int, accStr: String, ary: List<Int>, op: Op): String?{
    if(ary.isEmpty()){
        return if(acc == 7) accStr else null
    }
    val v : Int
    val s : String
    when(op){
        Op.plus -> {
            v = acc + ary.first()
            s = "$accStr+${ary.first()}"
        }
        Op.minus -> {
            v = acc - ary.first()
            s = "$accStr-${ary.first()}"
        }
    }
    val rest = ary.subList(1, ary.size)
    return reccalc(v, s, rest, Op.plus) ?: reccalc(v, s, rest, Op.minus)
}

fun main(args: Array<String>) {
    val ns = readLine()!!.map{it.toString().toInt()}
    val head = ns.first()
    val rest = ns.subList(1, 4)
    val ret = reccalc(head, "$head", rest, Op.plus) ?: reccalc(head, "$head", rest, Op.minus)
    print("${ret!!}=7")
}