n = int(input())
li = list(map(int,input().split()))
num = 0
n2 = 0
for i in range(n):
    if li[i]%4 == 0:
        num += 1
    elif li[i] == 2:
        n2 += 1
if n == 2:
    if num == 1 or n2 == 2:
        print("Yes")
    else:
        print("No")
elif n >=3:
    if num >= n//2 or num  >= (n - n2//2)//2:
        print("Yes")
    else:
        print("No")