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

more_two = 0
zero = 0
for a in A:
	i = 0
	if i%4 == 0:
		more_two += 1
	elif i%2 != 0:
		zero += 1

print("Yes" if zero <= more_two else "No") 