n = int(input())
a = list(map(int,input().split()))
c1 = 0
c2 = 0
c3 = 0
for i in a:
    if i%4==0:
        c1 += 1
    elif i%2==0:
        c2 += 1
    else:
        c3 += 1
if c1>=c3:
    print("Yes")
else:
    print("No")