n = int(input())
al = list(map(int,input().split()))

bine1 = 0
bine4 = 0

for a in al:
    if a % 4 == 0:
        bine4 += 1
    if a % 2 != 0:
        bine1 += 1

if bine4 + 1 >= bine1:
    print('Yes')
else:
    print('No')

