n=int(input())
l=list(map(int,input().split()))
x=0
for i in range(n):
    if(l[i]%4==0):
        x+=1
if(n%2==0):
    if(x==n//2):
        print("Yes")
    else:
        print('No')
else:
    if(x==n//2 or x==(n-n//2)):
        print("Yes")
    else:
        print("No")
