(defn count2devide [a i] (if (= 0 (mod a 2)) (count2devide (.intValue (/ a 2)) (+ 1 i)) i))
(println 
  (reduce
    +
    (map 
      (fn [a] (count2devide (Integer/parseInt a) 0))
      (.split (.nextLine (java.util.Scanner. System/in)) " "))))