import numpy as np
N=int(input())
A = list(map(int,input().split()))
Aa = np.array(A) %4
if np.count_nonzero(Aa%4==2)==0 and N//2-np.count_nonzero(Aa%4==0)>0:
    print("No")
elif np.count_nonzero(Aa%4==2)==0 and N//2-np.count_nonzero(Aa%4==0)<=0:
    print("Yes")
elif np.count_nonzero(Aa%4==2)!=0:
    if N%2==np.count_nonzero(Aa%4==2)%2 and np.count_nonzero(Aa%2==1)-np.count_nonzero(Aa%4==0)<=0:
        print("No")
    elif N%2!=np.count_nonzero(Aa%4==2)%2 and np.count_nonzero(Aa%4==2)-1-np.count_nonzero(Aa%4==0)<=0:
        print("No")
    else:
        print("Yes")