
def main():
    n = int(input())
    a = list(map(int,input().split()))

    four = 0
    two = 0
    for i in a:
        if i %4 ==0:
            four +=1
        elif i %2==0:
            two +=1


    if n//2 <= four:
        print("Yes")
    elif n//2 - four == 1:
        if n %2 ==0:
            if two >= 2:
                print("Yes")
                exit()
        else:
            if two >= 4:
                print("Yes")
                exit()

        print("No")


if __name__ == "__main__":
        main()
