# -*- coding: utf-8 -*-

N = int(eval(input()))

A = [int(n) for n in input().split()]



x2 = sum([a%2!=0 for a in A])

o2x4 = sum([(a%2==0)&(a%4!=0) for a in A])

o4 = sum([a%4==0 for a in A])





if o2x4 == 0:

    if o4 + 1 >= x2:

        print("Yes")

    else:

        print("No")

else:

    if o4 >= x2:

        print("Yes")

    else:

        print("No")
# -*- coding: utf-8 -*-

from collections import Counter

def inpl(): return list(map(int, input().split()))



N = int(eval(input()))

a, b, c = 0, 0, 0

for x in inpl():

    if x%4 == 0:

        a += 1

    elif x%2 == 0:

        b += 1

    else:

        c += 1



if a+(b==0) >= c:

    print("Yes")

else:

    print("No")
# -*- coding: utf-8 -*-
N = int(eval(input()))
A = [int(n) for n in input().split()]
x2 = sum([a % 2 != 0 for a in A])
o2x4 = sum([(a % 2 == 0) & (a % 4 != 0) for a in A])
o4 = sum([a % 4 == 0 for a in A])
if o2x4 == 0:
    if o4 + 1 >= x2:
        print("Yes")
    else:
        print("No")
else:
    if o4 >= x2:
        print("Yes")
    else:
        print("No")

# -*- coding: utf-8 -*-
from collections import Counter


def inpl():
    return list(map(int, input().split()))


N = int(eval(input()))
a, b, c = 0, 0, 0
for x in inpl():
    if x % 4 == 0:
        a += 1
    elif x % 2 == 0:
        b += 1
    else:
        c += 1
if a + (b == 0) >= c:
    print("Yes")
else:
    print("No")

+from collections import Counter + + +def inpl(): +    return list(map(int, input().split())) + + -A = [int(n) for n in input().split()] -x2 = sum([a % 2 != 0 for a in A]) -o2x4 = sum([(a % 2 == 0) & (a % 4 != 0) for a in A]) -o4 = sum([a % 4 == 0 for a in A]) -if o2x4 == 0: -    if o4 + 1 >= x2: -        print("Yes") +a, b, c = 0, 0, 0 +for x in inpl(): +    if x % 4 == 0: +        a += 1 +    elif x % 2 == 0: +        b += 1 -        print("No") +        c += 1 +if a + (b == 0) >= c: +    print("Yes") -    if o4 >= x2: -        print("Yes") -    else: -        print("No") +    print("No")