N = int(input())

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

cnt2 = 0
cnt4 = 0

for a in A:
    if a % 4 == 0:
        cnt4 += 1
    elif a % 2 == 0:
        cnt2 += 1

cnt2 = cnt2 // 2 * 2

if (cnt2 + cnt4 * 3) >= N:
    print("Yes")
else:
    print("No")

