n = int(input())

l = list(map(int,input().split()))

multi_four = []
multi_two  = []

for i in l:
    if i % 4 == 0:
        multi_four.append(i)
    
    elif i % 2 == 0 and i % 4 != 0:
        multi_two.append(i)

if n - len(multi_two) == 1 and len(multi_four) == 0:
    print('No')
elif ((n-len(multi_two)) // 2) <= len(multi_four):
    print('Yes')

else:
    print('No')