import scala.io.StdIn

object Main extends App {
  val n: Array[Int] = StdIn.readLine().toCharArray.map(c => c - 48)
  var result = ""
  (0 to 1).foreach { ope1 =>
    (0 to 1).foreach { ope2 =>
      (0 to 1).foreach { ope3 =>
        val r1: Int = (if (ope1 == 1) n(0) + n(1) else n(0) - n(1))
        val r2: Int = (if (ope2 == 1) r1 + n(2) else r1 - n(2))
        val r3: Int = (if (ope3 == 1) r2 + n(3) else r2 - n(3))
        if (r3 == 7) {
          result = n(0).toString + (if (ope1 == 1) "+" else "-") + n(1).toString +
            (if (ope2 == 1) "+" else "-") + n(2).toString +
            (if (ope3 == 1) "+" else "-") + n(3).toString + "=7"
        }
      }
    }
  }
  
  println(result)
}
