fun main(args: Array<String>) {
  val ABCD = readString()
  val a = ABCD[0] - '0'
  val b = ABCD[1] - '0'
  val c = ABCD[2] - '0'
  val d = ABCD[3] - '0'
  for (i in 0 until 2) {
    for (j in 0 until 2) {
      for (k in 0 until 2) {
        var v = a
        when (i) {
          0 -> v += b
          1 -> v -= b
        }
        when (j) {
          0 -> v += c
          1 -> v -= c
        }
        when (k) {
          0 -> v += d
          1 -> v -= d
        }
        if (v == 7) {
          val op = "+-"
          println("$a${op[i]}$b${op[j]}$c${op[k]}$d=7")
          return
        }
      }
    }
  }
}

fun readString() = readLine()!!
fun readStrings() = readString().split(" ")
fun readInt() = readString().toInt()
fun readInts() = readStrings().map { it.toInt() }
