def count_four(lst):
    counter = 0
    for i in lst:
        if i%4 == 0:
            counter += 1
    return counter

def count_two(lst):
    counter = 0
    for i in lst:
        if i%2 == 0:
            counter += 1
    return counter

n = int(input())
lst = list(map(int,input().split()))

four = count_four(lst)
two = count_two(lst) - four
others = n - four - two

#othersをチェック 2の倍数でも4の倍数でもない数値は全て4の倍数の間に押し込まないといけない。
four += 1
four -= others




if four < 0 :
    answer = "No"
else:
    answer = "Yes"

print(answer)