import sys

input = sys.stdin.readline



n = int(eval(input()))

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

cnt_0 = 0

cnt_2 = 0

for i in range(n):

    if a[i] % 4 == 0:

        cnt_2 += 1

    elif a[i] % 2 == 1:

        cnt_0 += 1

if (cnt_2 >= cnt_0 - 1 and cnt_2 + cnt_0 == n) or cnt_2 >= cnt_0:

    print('Yes')

else:

    print('No')

import sys

read = sys.stdin.buffer.read

readline = sys.stdin.buffer.readline

readlines = sys.stdin.buffer.readlines

sys.setrecursionlimit(10 ** 7)



n = int(readline())

a = list(map(int, readline().split()))

cnt = 0

memo = 0

for aa in a:

    if aa % 4 == 0:

        cnt += 1

    elif aa % 2 == 1:

        memo += 1

print(('Yes' if (cnt >= memo - 1 and cnt + memo == n) or cnt >= memo else 'No'))

import sys

input = sys.stdin.readline
n = int(eval(input()))
a = list(map(int, input().split()))
cnt_0 = 0
cnt_2 = 0
for i in range(n):
    if a[i] % 4 == 0:
        cnt_2 += 1
    elif a[i] % 2 == 1:
        cnt_0 += 1
if (cnt_2 >= cnt_0 - 1 and cnt_2 + cnt_0 == n) or cnt_2 >= cnt_0:
    print("Yes")
else:
    print("No")

import sys

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
sys.setrecursionlimit(10**7)
n = int(readline())
a = list(map(int, readline().split()))
cnt = 0
memo = 0
for aa in a:
    if aa % 4 == 0:
        cnt += 1
    elif aa % 2 == 1:
        memo += 1
print(("Yes" if (cnt >= memo - 1 and cnt + memo == n) or cnt >= memo else "No"))

-input = sys.stdin.readline -n = int(eval(input())) -a = list(map(int, input().split())) -cnt_0 = 0 -cnt_2 = 0 -for i in range(n): -    if a[i] % 4 == 0: -        cnt_2 += 1 -    elif a[i] % 2 == 1: -        cnt_0 += 1 -if (cnt_2 >= cnt_0 - 1 and cnt_2 + cnt_0 == n) or cnt_2 >= cnt_0: -    print("Yes") -else: -    print("No") +read = sys.stdin.buffer.read +readline = sys.stdin.buffer.readline +readlines = sys.stdin.buffer.readlines +sys.setrecursionlimit(10**7) +n = int(readline()) +a = list(map(int, readline().split())) +cnt = 0 +memo = 0 +for aa in a: +    if aa % 4 == 0: +        cnt += 1 +    elif aa % 2 == 1: +        memo += 1 +print(("Yes" if (cnt >= memo - 1 and cnt + memo == n) or cnt >= memo else "No"))