n = int(input())
a = list(map(int, input().split()))
odd = 0
even = 0
four = 0

for i in a:
    if i % 4 == 0:
        four += 1
    elif i % 2 == 0:
        even += 1
    elif i % 2:
        odd += 1

if ((odd == 1 and four < 1) or (odd >= 2 and four < odd - 1) or (odd >= 2 and
n - four - odd != 0 and  n - four - odd < 2)):
    print("No")
else:
    print("Yes")