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

e = []
even4 = 0
even = 0
odd = 0
for i in a:
    if i % 4 == 0:
        even4 += 1
        e.append(i)
    elif i % 2 == 0:
        even += 1
    if i % 2 != 0:
        odd += 1

if even != 0:
    if even4 >= odd:
        print("Yes")
        exit()
    else:
        print("No")
        exit()
else:
    if even4 >= odd+1:
        print("Yes")
        exit()
    else:
        print("No")
        exit()
