n = int(input())
a = [int(i) for i in input().split()]
def hoge(i):
    if i % 4 == 0:
        return 4
    elif i % 2 == 0:
        return 2
    else:
        return 0
a = list(map(hoge, a))
print(a)
if sum(a) >= (n*2 if n%2 == 0 else (n-1)*2):
    print("Yes")
else:
    print("No")