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

for i in range(n):
    if a[i] % 4 == 0:
        fCount += 1
    elif a[i] % 2 == 0:
        tCount += 1

ans = 0
# ans = n - fCount * 3 - (tCount // 2) * 2
if tCount > 1:
    #ans = n - fCount * 3 - tCount
    if fCount > 0:
        ans = n - (2 * fCount + 1) - tCount
    else:
        ans = n - tCount
else:
    #ans = n - fCount * 3
    if fCount > 0:
        ans = n - (2 * fCount + 1)
    else:
        ans = n

if ans >= 0:
    print('No')
else:
    print('Yes')


