# -*- coding: utf-8 -*-

# AtCoder Beginner Contest





if __name__ == '__main__':

    n = int(eval(input()))

    a = list(map(int, input().split()))

    count = 0



    # See:

    # https://beta.atcoder.jp/contests/abc100/submissions/2675457

    for ai in a:

        while ai % 2 == 0:

            ai //= 2

            count += 1



    print(count)

# -*- coding: utf-8 -*-





def main():

    n = int(eval(input()))

    a = list(map(int, input().split()))

    ans = 0



    for ai in a:

        while ai % 2 == 0:

            ans += 1

            ai = ai // 2



    print(ans)





if __name__ == '__main__':

    main()

# -*- coding: utf-8 -*-
# AtCoder Beginner Contest
if __name__ == "__main__":
    n = int(eval(input()))
    a = list(map(int, input().split()))
    count = 0
    # See:
    # https://beta.atcoder.jp/contests/abc100/submissions/2675457
    for ai in a:
        while ai % 2 == 0:
            ai //= 2
            count += 1
    print(count)

# -*- coding: utf-8 -*-
def main():
    n = int(eval(input()))
    a = list(map(int, input().split()))
    ans = 0
    for ai in a:
        while ai % 2 == 0:
            ans += 1
            ai = ai // 2
    print(ans)


if __name__ == "__main__":
    main()

-# AtCoder Beginner Contest -if __name__ == "__main__": +def main(): -    count = 0 -    # See: -    # https://beta.atcoder.jp/contests/abc100/submissions/2675457 +    ans = 0 -            ai //= 2 -            count += 1 -    print(count) +            ans += 1 +            ai = ai // 2 +    print(ans) + + +if __name__ == "__main__": +    main()