import java.util.*

fun main(args: Array<String>) {
  val sc = Scanner(System.`in`)
  val abcd = sc.next().toCharArray().map { it.toString().toInt() }.toIntArray()
  val a = abcd[0]
  val b = abcd[1]
  val c = abcd[2]
  val d = abcd[3]

  val bcd = IntArray(3) { 0 }
  bcd[0] = b
  bcd[1] = c
  bcd[2] = d

  val op = Array(3) { "" }

  var ans = ""
  for (i in 0..(1 shl 4)-1) {
    var tmp = a

    for (j in 0 until 3) {
      if ((i shr j) and 1 == 0) {
        tmp += bcd[j]
        op[j] = "+"
      } else {
        tmp -= bcd[j]
        op[j] = "-"
      }
    }
    if (tmp == 7) {
      ans += a.toString()
      for (k in 0 until 3) {
        ans += op[k]
        ans += bcd[k]
      }
      break
    }
  }
  println(ans + "=7")

}
