N = int(input())
alist = list(map(int, input().split()))
c2 = 0
c4 = 0
for a in alist:
    if a % 2 == 0:
        c2 += 1
    if a % 4 == 0:
        c4 += 1

if c4 >= (N // 2) or c2 == N:
    print("Yes")
else:
    print("No")
