#https://atcoder.jp/contests/abc069/tasks/arc080_a
N = int(input())
ai = list(map(int, input().split()))
mult_4 = 0
odd = 0
for a in ai:
    if a%4 == 0:
        mult_4 += 1
    elif a%2 == 1:
        odd += 1
if N ==3:
    if mult_4 >=1 or odd ==0:
        print("Yes")
elif mult_4 >= odd:
    print("Yes")
else:
    print("No")