n=int(input())
a=[int(i) for i in input().split()]

check=0
for i in a:
    if i%4==0:
        check+=1
if n==1:
    print('Yes' if check==1 else 'No')
    
else:
    print('Yes' if n//2<=check else 'No')