n = int(input())
a = list(map(int, input().split()))
cnt4 = 0
cnto = 0
for i in range(n):
	if a[i]%4==0:
		cnt4 += 1
	if a[i]%2==1:
		cnto += 1
print("Yes" if (cnt4+cnto==n and cnt4+1>=cnto) or cnt4>=cnto else "No")