N = int(input())
A = list(map(int, input().split()))
P = [0 for i in range(3)]
for i in range(N):
  a = A[i]
  if a%4 == 0:
    P[2] += 1
  elif a%2 == 0:
    P[1] += 1
  else:
    P[0] += 1
s = 0
if P[2] == 0:
  if P[0] == 0:
    print("Yes")
  else:
    print("No")
else:
  if P[2]+1 >= P[0]:
    print("Yes")
  else:
    print("No")