# C - 4-adjacent
n = int(input())
count2 = count4 = 0
for a in [int(x)%4 for x in input().split()]:
    if a==0: count4 += 1
    elif a==2: count2 += 1
print("Yes" if n//2 <= count4 + count2//2 else "No")