n=input()
data=list(map(int,input().split()))
a=[i for i in data if i%4==0]
b=[i for i in data if i%4!=0]
c=[i for i in b if i%2==0]
x=len(a)+len(c)//2
y=len(b)-len(c)//2
if y<=x+1:
    print('Yes')
else:
    print('No')