N = int(eval(input()))

an = list(map(int, input().split()))





def main():

    ar = [0] * 3

    for ai in an:

        if ai % 4 == 0:

            ar[2] += 1

        elif ai % 2 == 0:

            ar[1] += 1

        else:

            ar[0] += 1



    if 0 < ar[1]:

        ar[0] += 1



    print(("Yes" if ar[0] - 1 <= ar[2] else "No"))

    return





main()

N = int(eval(input()))

an = [int(i) % 4 for i in input().split()]





def main():

    two = an.count(2)

    four = an.count(0)

    other = N - two - four



    if 0 < two:

        other += 1



    print(("Yes" if other - 1 <= four else "No"))

    return





main()

N = int(eval(input()))
an = list(map(int, input().split()))


def main():
    ar = [0] * 3
    for ai in an:
        if ai % 4 == 0:
            ar[2] += 1
        elif ai % 2 == 0:
            ar[1] += 1
        else:
            ar[0] += 1
    if 0 < ar[1]:
        ar[0] += 1
    print(("Yes" if ar[0] - 1 <= ar[2] else "No"))
    return


main()

N = int(eval(input()))
an = [int(i) % 4 for i in input().split()]


def main():
    two = an.count(2)
    four = an.count(0)
    other = N - two - four
    if 0 < two:
        other += 1
    print(("Yes" if other - 1 <= four else "No"))
    return


main()

-an = list(map(int, input().split())) +an = [int(i) % 4 for i in input().split()] -    ar = [0] * 3 -    for ai in an: -        if ai % 4 == 0: -            ar[2] += 1 -        elif ai % 2 == 0: -            ar[1] += 1 -        else: -            ar[0] += 1 -    if 0 < ar[1]: -        ar[0] += 1 -    print(("Yes" if ar[0] - 1 <= ar[2] else "No")) +    two = an.count(2) +    four = an.count(0) +    other = N - two - four +    if 0 < two: +        other += 1 +    print(("Yes" if other - 1 <= four else "No"))