N=int(input())
a=input().split()
numbers=[int(b) for b in a]
kazu=0
suuji=0
for z in numbers:
    if z%2==0:
        kazu+=1
for y in numbers:
    if y%4==0:
        suuji+=1
if kazu==N:
    print('Yes')
elif suuji==N//2:
    print('Yes')
elif kazu>=N-kazu*3+1:
    print('Yes')
else:
    print('No')
