n = int(raw_input())
l = map(int, raw_input().split())
feven = False
nodd = 0
nfour = 0
for i in l:
    if i % 4 == 0:
        nfour += 1
    elif i % 2 == 0:
        feven = True
    else:
        nodd += 1
if (feven and nfour >= nodd) or (not feven and nfour >= nodd - 1):
    print 'Yes'
else:
    print 'No'
