#!/usr/bin/env python

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

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

if n2 == n or n4 >= n//2 or n2+n4 > n//2:
    print('Yes')
else:
    print('No')