object Main extends App {
  
  val sc = new java.util.Scanner(System.in)
  val n = sc.next().toList.map(_.asDigit)
  val opType = List((x:Int, y:Int) => x + y, (x:Int, y:Int) => x - y)
  val opChar = List('+', '-')
  val ops = for (i <- opType; j <- opType; k <- opType) yield List(i, j, k)
  val opChars = for (i <- opChar; j <- opChar; k <- opChar) yield List(i, j, k)
  val index = ops.indexWhere(op => op(2)(op(1)(op(0)(n(0), n(1)), n(2)), n(3)) == 7)
  val ansOps = opChars(index)
  println(s"${n(0)}${ansOps(0)}${n(1)}${ansOps(1)}${n(2)}${ansOps(2)}${n(3)}=7")
}
