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

two = 0
four = 0

four = 0
two = 0
for i in A:
    if i%4 == 0:
        four += 1
    elif i%2 == 0:
        two += 1

odd = N - four - two

odd -= 2*four

if two == 1:
    odd += 1

if odd <= 0:
    print("Yes")
else:
    print("No")