from collections import Counter

N = int(input())
a = list(map(int, input().split()))

nums = Counter(a)
odd = n = 0

for key, value in nums.items():
    if key % 2 == 1:
        odd += value
    elif key % 4 == 0:
        n += value
if odd <= n:
    print('Yes')
else:
    print('No')