N = int(input())
arr = list(map(int, input().split()))
four_count = 0
two_count = 0
for i in arr:
    if i % 4 == 0:
        four_count += 1
        continue
    if i % 2 == 0:
        two_count += 1
if 0 < four_count:
    N -= four_count * 2 + 1
if N + 1 <= two_count:
    print('Yes')
    exit()
if N <= 0:
    print('Yes')
else:
    print('No')