n = int(input())
a = list(map(int, input().split()))
num4 = 0
num2 = 0
num0 = 0
for i in a:
    if i%4 == 0:
        num4 += 1
    elif i%2 == 0:
        num2 += 1
    else:
        num0 += 1
if num4 == 1 and num0 + num2 <= num4 + 1:
    print('Yes')
elif 2 <= num4 and num0 <= num4:
    print('Yes')
else:
    print('No')