N = int(input())
a = list(map(int, input().split()))
a0 = 0
a2 = 0
a4 = 0

for i in a:
    if i % 4 == 0:
        a4 += 1
    elif i % 2 == 0:
        a2 += 1
    else:
        a0 += 1

if N == 3 and a4 >= 1:
    print('Yes')
elif N == 2 and (a4 > 0 or a2 == 2):
    print('Yes')
elif a4 >= a0:
    print('Yes')
else:
    print('No')