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

cnt = 0
cnt2 = 0
cnt3 = 0
for i in range(N):
    if a[i] % 4 == 0:
        cnt += 1
    elif a[i] == 2:
        cnt2 += 1
    elif 2 * a[i] % 4 == 0:
        cnt3 += 1

if cnt2 >= cnt3:
    N -= cnt3
    cnt2 -= cnt3
if cnt2 >= 2:
    N -= cnt2//2*2


print('Yes' if cnt >= N//2 else 'No')
