N = int(input())
a = list(map(int,input().split()))
W,Q = 0,0 
for i in a:
    if i%4 == 0:
        Q += 1
    elif i%2 == 0:
        W += 1
if Q >= N//2 or Q >= (N-W)/2:
    print("Yes")
else:
    print("No")