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

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

answer = False

for i in range(n):
    if a[i] % 2 != 0:
        break
else:
    answer = True

four = 0

for i in range(n):
    if a[i] % 4 == 0:
        four += 1

def array_count(arr):
    arr_target = [[]]
    cnt = 1
    for i in range(1,len(arr)):
        if arr[i] == arr[i-1]:
            cnt += 1
        else:
            arr_target.append([arr[i-1],cnt])
            cnt = 1
    arr_target.append([arr[len(arr)-1],cnt])
    del arr_target[0]
    return arr_target

c = a + [0,1,2]

c.sort()

b = array_count(c)

length = len(a) - b[2][1] + 1

if length / 2 - 0.6 <= four:
    answer = True

if answer:
    print("Yes")
else:
    print("No")