import java.util.*

fun main(args: Array<String>) {
  val sc = Scanner(System.`in`)
  val abcd = sc.next()

  var array = BooleanArray(3) { false }

  for (bit in 0..7) {
    if (bit and 0b100 > 0) {
      array[0] = true
    }
    if (bit and 0b010 > 0) {
      array[1] = true
    }
    if (bit and 0b001 > 0) {
      array[2] = true
    }

    var tmp = Character.getNumericValue(abcd[0])
    for (i in 1..3) {
      val c = Character.getNumericValue(abcd[i])
      if (array[i - 1]) {
        tmp += c
      } else {
        tmp -= c
      }
    }
    if (tmp == 7) {
      break
    }
    array = BooleanArray(4) { false }
  }

  val ans = mutableListOf<Char>()
  ans.add(abcd[0])
  for (i in 1..3) {
    if (array[i - 1]) {
      ans.add('+')
    } else {
      ans.add('-')
    }
    ans.add(abcd[i])
  }
  println(ans.joinToString("") + "=7")


}
