n = int(input())
a = list(map(int, input().split()))

num4 = 0
num2 = 0
odd = 0
for i in a:
    if i%4 == 0:
        num4 += 1
    elif i % 2:
        num2 += 1
    elif i%2 == 1:
        odd += 1

if odd > num4:
    print("No")
else:
    if num2%2 == 1:
        if odd+1 > num4:
            print("No")
        else:
            print("Yes")
    else:
        print("Yes")
    
