import sys

stdin = sys.stdin

n = int(stdin.readline())
a = list(map(int, stdin.readline().split()))

n_2 = n
n_4 = n // 2
a_2 = 0
a_4 = 0

for i in a:
    if i % 4 == 0:
        a_4 += 1
        a_2 += 1
    elif i % 2 == 0:
        a_2 += 1

if a_4 >= n_4 or a_2 >= n_2 or a_4 >= n_4-1 and a_2 >= 2:
    print("Yes")
else:
    print("No")
