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
only_c2 = c4 - c2
not_c4 = N - c4
not_c2 = N - c2

if c4 * 2 >= not_c4:
    print("Yes")
elif c4 + (only_c2 // 2) >= not_c2:
    print("Yes")
else:
    print("No")
