from collections import Counter
N = int(input())
alist = list(map(int,input().split()))
zero , one , two = 0 , 0 , 0
for a in alist:
    if a % 4 == 0:
        two += 1
    elif a % 2 == 0:
        one += 1
    else:
        zero += 1
def func(zero, one, two):
    if zero == 0:
        return True
    if one == 0 :
        if (zero <= (two *2)):
            return True
        else:
            return False
    if (zero + 1 )  <= (two * 2): 
        return True
    return False
print("Yes" if func(zero , one, two) else "No")