def 解():
    iN = int(input())
    m4,m2,m1 = 0,0,0

    def fp():
        print("Yes")
    def fn():
        print("No")
    for a in input().split():
        a = int(a)
        if a % 4 ==0:
            m4 += 1
        elif a % 2 == 0:
            m2 += 1
        else:
            m1 += 1
    if 0 < m1 :
        if iN < 4:
            if m4 == 1:
                fp()
            else:
                fn()
        else:
            if m1 <= m4:
                fp()
            else:
                fn()
    else:
        fp()
解()
