# coding: utf-8

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

odd = 0
fourth = 0
even = 0

for i in range(N):
    if a[i] % 4 == 0:
        fourth += 1
    elif a[i] % 2 == 0:
        even += 1
    elif a[i] % 2 != 0:
        odd += 1

res = "No"
if N % 2 == 0:
    if fourth == odd:
        res = "Yes"
else:
    if abs(odd - fourth) <= 1:
        res = "Yes"

print(res)
