import math
N = int(input())
a = list(map(int, input().split()))
cnt = 0
cnt2 = 0
for i in range(N):
    if a[i] % 4 == 0:
        cnt+=1
    elif a[i] == 2:
        cnt2+=1

if cnt >= math.floor(N / 2):
    print('Yes')
elif cnt2 >= math.floor((N - math.floor(cnt2 / 2)) / 2):
    print('Yes')
else:
    print('No')