import java.util.Scanner

object Main {
  def main(args: Array[String]): Unit = {
    val sc = new Scanner(System.in)

    val N = sc.nextInt()
    val arr = Array.fill(N)(sc.nextInt())

    var num = 0

    for (i <- 0 until N) {
      while (arr(i) % 2 == 0) {
        arr(i) /= 2
        num += 1
      }
    }

    println(num)

  }
}
