n=int(input())
a=list(map(int,input().split()))
cnt1=0
cnt4=0
if n==2:
    if a[0]*a[1]%4==0:
        print('Yes')
        exit()
    else:
        print('No')
        exit()
for i in range(n):
    if a[i]%4==0:
        cnt4+=1
    else:
        cnt1+=1
if 2 in a:
    if cnt4 >= cnt1:
        print('Yes')
    else:
        print('No')
else:
    if cnt4+1 >= cnt1:
        print('Yes')
    else:
        print('No')

