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 two == 1:
    two = 0
if 2*four+1+two >= N:
    print('Yes')
else:
    print('No')
