N = int(input())
A = list(map(int,input().split()))

bi = [a for a in A if a % 2 == 0]
qu = [b for b in bi if b % 4 == 0]

num_4 = len(qu)
num_2 = len(bi) - num_4

if num_2 >= 1:
	if N-num_2 <= num_4*2 or N <= num_4*2+1:
		print("Yes")
	else:
		print("Np")
else:
	if N-num_2 <= num_4*2+1:
		print("Yes")
	else:
		print("Np")	