N = int(input())
A = list(map(int, input().split()))
tmp = len([a for a in A if a % 4 == 0])
tmpp = len([a for a in A if a == 2])

if tmpp:
    if tmp == (len(A) - tmp - tmpp):
        print('Yes')
    else:
        print('No')
else:
    if int(N / 2) <= tmp:
        print('Yes')
    else:
        print('No')
