# C - 4-adjacent

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

a_4_multi, a_2_multi, a_odd = [], [], []

for x in a:
    if x%2 == 1:
        a_odd.append(x)
    elif x%4 != 0:
        a_2_multi.append(x)
    else:
        a_4_multi.append(x)
        
if len(a_odd) - 1 <= len(a_4_multi) and len(a_2_multi)%2 == 0:
    print("Yes")
else:
    print("No")