def main():
    N = int(input())
    a = [int(i) for i in input().split()]

    multi_2 = 0
    multi_4 = 0
    
    for num in a:
        if(num % 2 == 0):
            if(num % 4 == 0):
                multi_4 += 1
            else:
                multi_2 += 1
    
    #print(multi_2)
    #print(multi_4)
    pair_2 = int(multi_2 / 2)
    permitrange = multi_4 * 3 + pair_2 * 2
    if(N <= permitrange):
        print("Yes")
    else:
        print("No")
    
if __name__=="__main__":
    main()