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()))

def solve(lst):
    four = count_four(lst)
    two = count_two(lst) - four
    others = n - four - two
    if four == 0 and others == 0 :
        return "Yes"
    if four == 0 and two == 0:
        return "No"




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

    if four == 0 and two >= 1:
        return "No"




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

print(solve(lst))