N = int(input())
a = list(map(int, input().split()))
bai4 = 0
bai2 = 0
kisuu = 0
for i in a:
    if i%4 == 0:
        bai4 += 1
    elif i%2 == 0:
        bai2 += 1
    else:
        kisuu += 1
if kisuu - 1 <= bai4:
    print("Yes")
else:
    print("No")
