import scala.io.StdIn

object Main extends App {

  val Array(a,b,c,d) = StdIn.readLine.toCharArray.map(_.toString.toInt)

  val ans = {
    val sign = Array("+","-")
    var ret = Array(0, 0, 0)
    for {
      i <- 0 to 1
      j <- 0 to 1
      k <- 0 to 1
    } {
      val x = if(i == 0) a + b else a - b
      val y = if(j == 0) x + c else x - c
      val z = if(k == 0) y + d else y - d
      if(z == 7) ret = Array(i, j, k)
    }
    (sign(ret(0)), sign(ret(1)), sign(ret(2)))
  }

  println(a + ans._1 + b + ans._2 + c + ans._3 + d + "=7")
}