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

t = 0
two = 0
for i in range(n):
    if lis[i] % 4 == 0:
        t += 1
    if lis[i] == 2:
        two += 1

a = two//2

if t >= (n//2) or t+a >=(n//2):
    print("Yes")
else:
    print("No")
