N = int(eval(input()))

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



odds = []

bai4 = []



for i in range(N):

    odds.append(A[i]%2 == 1)

    bai4.append(A[i]%4 == 0)

    

odd = sum(odds)

bi4 = sum(bai4)

bi2 = N - odd - bi4



if odd + bool(bi2) > bi4+1:

    print("No")

else:

    print("Yes")
import sys

stdin = sys.stdin



def li(): return list(map(int, stdin.readline().split()))

def li_(): return [int(x)-1 for x in stdin.readline().split()]

def lf(): return list(map(float, stdin.readline().split()))

def ls(): return stdin.readline().split()

def ns(): return stdin.readline().rstrip()

def lc(): return list(ns())

def ni(): return int(stdin.readline())

def nf(): return float(stdin.readline())



n = ni()

a = list(li())



mod2 = 0

odd = 0

mod0 = 0



for ai in a:

    if ai%4 == 0:

        mod0 += 1

    elif ai%2 == 0:

        mod2 = 1

    else:

        odd += 1

        

odd += mod2





if mod0 >= (odd-1):

    print("Yes")

else:

    print("No")
N = int(eval(input()))
A = list(map(int, input().split()))
odds = []
bai4 = []
for i in range(N):
    odds.append(A[i] % 2 == 1)
    bai4.append(A[i] % 4 == 0)
odd = sum(odds)
bi4 = sum(bai4)
bi2 = N - odd - bi4
if odd + bool(bi2) > bi4 + 1:
    print("No")
else:
    print("Yes")

import sys

stdin = sys.stdin


def li():
    return list(map(int, stdin.readline().split()))


def li_():
    return [int(x) - 1 for x in stdin.readline().split()]


def lf():
    return list(map(float, stdin.readline().split()))


def ls():
    return stdin.readline().split()


def ns():
    return stdin.readline().rstrip()


def lc():
    return list(ns())


def ni():
    return int(stdin.readline())


def nf():
    return float(stdin.readline())


n = ni()
a = list(li())
mod2 = 0
odd = 0
mod0 = 0
for ai in a:
    if ai % 4 == 0:
        mod0 += 1
    elif ai % 2 == 0:
        mod2 = 1
    else:
        odd += 1
odd += mod2
if mod0 >= (odd - 1):
    print("Yes")
else:
    print("No")

-N = int(eval(input())) -A = list(map(int, input().split())) -odds = [] -bai4 = [] -for i in range(N): -    odds.append(A[i] % 2 == 1) -    bai4.append(A[i] % 4 == 0) -odd = sum(odds) -bi4 = sum(bai4) -bi2 = N - odd - bi4 -if odd + bool(bi2) > bi4 + 1: +import sys + +stdin = sys.stdin + + +def li(): +    return list(map(int, stdin.readline().split())) + + +def li_(): +    return [int(x) - 1 for x in stdin.readline().split()] + + +def lf(): +    return list(map(float, stdin.readline().split())) + + +def ls(): +    return stdin.readline().split() + + +def ns(): +    return stdin.readline().rstrip() + + +def lc(): +    return list(ns()) + + +def ni(): +    return int(stdin.readline()) + + +def nf(): +    return float(stdin.readline()) + + +n = ni() +a = list(li()) +mod2 = 0 +odd = 0 +mod0 = 0 +for ai in a: +    if ai % 4 == 0: +        mod0 += 1 +    elif ai % 2 == 0: +        mod2 = 1 +    else: +        odd += 1 +odd += mod2 +if mod0 >= (odd - 1): +    print("Yes") +else: -else: -    print("Yes")