function Main(s){
  s = s.split("\n");
  var n = +s[0];
  var a = s[1].split(" ").map(a=>+a);
  var ans = 0;
  for(var i = 0; i < n; i++){
    while(a[i] % 2 === 0){
      ans++;
      a[i] /= 2;
    }
  }
  console.log(ans);
}
Main(require("fs").readFileSync("/dev/stdin","utf8"));