(ns Atcoder.ABC079-C)
(def S (read-line))
(def len (count S))
(defn char2int [c]  (- (int c) (int \0)))
(defn calc [i]
  (loop [j 1 sum (char2int (first S))]
    (if (= len j)
      sum
      (if (= (bit-and 1 (bit-shift-right i (dec j))) 1)
        (recur (inc j) (+ sum (char2int (nth S j))))
        (recur (inc j) (- sum (char2int (nth S j)))
      )
    )
  )))

(def ans_pattern (for [i (range 0 (Math/pow 2 (dec len))) :when (= (calc i) 7)] i))

;(def x for [i (range 0 (Math/pow 2 (dec len))) :when (= (calc i) 7)] i)

(defn pattern2format [pattern]
  (def form (loop [j 1 form (str (nth S 0))]
              (if (= len j)
                (str form (str "=7"))
                (if (= (bit-and 1 (bit-shift-right pattern (dec j))) 1)
                  (recur (inc j) (str form "+" (nth S j)))
                  (recur (inc j) (str form "-" (nth S j)))))))

  (println form)
  )

(pattern2format (int (first ans_pattern)))