N = int(input())
a = list(map(int, input().split()))
c4 = 0
c2 = 0

for i in range(N):
    if a[i] % 4 == 0:
        c4 += 1
    elif a[i] % 2 == 0:
        c2 += 1
if c4 * 2 + 1 >= N or c4 * 2 + c2 >= N:
    print("Yes")
else:
    print("No")
