object Main {
  def main(args: Array[String]): Unit = {
    import scala.io.StdIn.readLine
    import scala.collection.immutable.BitSet
    val NumAry = readLine.split("").filterNot(_ == "").map(_.toInt)
    for (i <- 0 until 8) {
      val ans1 = if((i & 0x4) != 0) (NumAry(0) + NumAry(1)) else (NumAry(0) - NumAry(1))
      val ans2 = if((i & 0x2) != 0) (ans1      + NumAry(2)) else (ans1      - NumAry(2))
      val ans3 = if((i & 0x1) != 0) (ans2      + NumAry(3)) else (ans2      - NumAry(3))

      if (ans3 == 7) {
        val op1 = if((i & 0x4) != 0) "+" else "-"
        val op2 = if((i & 0x2) != 0) "+" else "-"
        val op3 = if((i & 0x1) != 0) "+" else "-"

        println(NumAry(0) + op1 + NumAry(1) + op2 + NumAry(2) + op3 + NumAry(3) + "=7")
        return;
      }
    }
  }
}
