n = int(input())
a = list(map(int,input().split()))
bad_num = 0
multiple_4 = 0

for i in a:
    if i % 2 == 1 or i == 2:
        bad_num += 1
    if i % 4 == 0:
        multiple_4 += 1
        
if bad_num <= multiple_4 + 1and multiple_4 > 0:
    print('Yes')
else:
    print('No')