N = int(eval(input()))

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



ans = 0

for aa in a:

    while aa % 2 == 0:

        aa //= 2

        ans += 1

print(ans)

def main():

    def count(x):

        ret = 0

        while x % 2 == 0:

            x //= 2

            ret += 1

        return ret



    N = int(eval(input()))

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

    ans = sum(map(count, a))

    print(ans)





if __name__ == '__main__':

    main()



# import sys

# input = sys.stdin.readline

# 

# sys.setrecursionlimit(10 ** 7)

# 

# (int(x)-1 for x in input().split())

# rstrip()

N = int(eval(input()))
a = tuple(map(int, input().split()))
ans = 0
for aa in a:
    while aa % 2 == 0:
        aa //= 2
        ans += 1
print(ans)

def main():
    def count(x):
        ret = 0
        while x % 2 == 0:
            x //= 2
            ret += 1
        return ret

    N = int(eval(input()))
    a = list(map(int, input().split()))
    ans = sum(map(count, a))
    print(ans)


if __name__ == "__main__":
    main()
# import sys
# input = sys.stdin.readline
#
# sys.setrecursionlimit(10 ** 7)
#
# (int(x)-1 for x in input().split())
# rstrip()

-N = int(eval(input())) -a = tuple(map(int, input().split())) -ans = 0 -for aa in a: -    while aa % 2 == 0: -        aa //= 2 -        ans += 1 -print(ans) +def main(): +    def count(x): +        ret = 0 +        while x % 2 == 0: +            x //= 2 +            ret += 1 +        return ret + +    N = int(eval(input())) +    a = list(map(int, input().split())) +    ans = sum(map(count, a)) +    print(ans) + + +if __name__ == "__main__": +    main() +# import sys +# input = sys.stdin.readline +# +# sys.setrecursionlimit(10 ** 7) +# +# (int(x)-1 for x in input().split()) +# rstrip()