N = int(input())
a = list(map(int, input().split()))
cnt = 0
cnt2 = 0
for i in a:
    if i % 4 == 0:
        cnt += 1
    if i == 2:
        cnt2 += 1
if cnt2 == 0:
    if N - cnt <= cnt + 1:
        print('Yes')
    else:
        print('No')
else:
    if N - cnt - cnt2 + 1 <= cnt + 1:
        print('Yes')
    else:
        print('No')