N = int(input())
a = list(map(int,input().split()))
four = 0
two = 0
for i in range(N):
    if a[i] % 4 == 0:
        four += 1
    elif a[i] % 4 == 2:
        two += 1
    else:
        pass

if four == 0:
    print('No')
elif two <= 1 and N > 2*four+1:
    print('No')
elif N > 2*four+two:
    print('No')
else:
    print('Yes')