n = int(input())

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

amount = 0
sub = 0
for i in lst1:
    if i%4 == 0:
        amount += 1
    elif i%2 == 0:
        sub += 1

if amount + sub//2 >= len(lst1)//2:
    print("Yes")
else:
    print("No")