n = input()
nStr = input().split()
number = list(map(int,nStr))

frby = 1
twby = -1

for i in number:
    if i % 4 == 0:
        frby += 2
    elif i % 2 == 0:
        twby += 1
        
if int(n) == 1 and frby == 3:
    print("Yes")
elif int(n) == (twby + 1):
    print("Yes")
elif int(n) <= (frby + twby):
    print("Yes")
else :
    print("No")