import java.util.Scanner

object Main {
  def calcResultStr(nums: (Any, Any, Any, Any), firstOperater: String, secondOperater: String, thirdOperater: String): String = nums._1.toString + firstOperater + nums._2.toString + secondOperater + nums._3.toString + thirdOperater + nums._4.toString + "=7"


  def main(args: Array[String]): Unit = {
    val input = new Scanner(System.in)
    val splitedNum: List[Char] = input.next.toList

    val a: Int = splitedNum(0).toString.toInt
    val b: Int = splitedNum(1).toString.toInt
    val c: Int = splitedNum(2).toString.toInt
    val d: Int = splitedNum(3).toString.toInt

    if (a+b+c+d == 7) {
      println(calcResultStr((a,b,c,d), "+", "+", "+"))
    } else if (a-b+c+d == 7) {
      println(calcResultStr((a,b,c,d), "-", "+", "+"))
    } else if (a+b-c+d == 7) {
      println(calcResultStr((a,b,c,d), "+", "-", "+"))
    } else if (a+b+c-d == 7) {
      println(calcResultStr((a,b,c,d), "+", "+", "-"))
    } else if (a-b-c+d == 7) {
      println(calcResultStr((a,b,c,d), "-", "-", "+"))
    } else if (a+b-c-d == 7) {
      println(calcResultStr((a,b,c,d), "+", "-", "-"))
    } else if (a-b+c-d == 7) {
      println(calcResultStr((a,b,c,d), "-", "+", "-"))
    } else if (a-b-c-d == 7) {
      println(calcResultStr((a,b,c,d), "-", "-", "-"))
    }
  }
}