# ABC069 C - 4-adjacent
import math
N = int(input())
A = list(map(float,input().split()))

odd = 0.0
even = 0.0
m_4 = 0.0

for a in A:
    if a%2 == 1:
        odd += 1
    elif a%2 == 0:
        even += 1
    if a%4 == 0:
        m_4 += 1

if even == 0:
    if odd <= m_4 + 1:
        print('Yes')
    else:
        print('No')
else:
    if odd <= m_4:
        print('Yes')
    else:
        print('No')
