n = int(input())
li = list(map(int, input().split()))
yon = 0
ni  = 0
ki = 0
for a in li:
    if a % 4 == 0:
        yon += 1
    if a % 2 == 0:
        ni += 1
    else:
        ki += 1

if yon >= ki-1:
    print('Yes')
else:
    print('No')