N=int(input())
A=list(map(int,input().split()))

c2 = sum(map(lambda x: x%2==0, A))
c4 = sum(map(lambda x: x%4==0, A))
if N%2==0:
    print('Yes' if (N-c4)<=(c2-c4)*2 else 'No')
else:
    print('Yes' if (N-c4)<=(c2-c4+1)*2 else 'No')