N = int(input())
a = [int(n) for n in input().split()]

zero = 0
four = 0
two = 0
for n in a:
  if(n % 2 != 0):
    zero += 1
  elif (n % 4 == 0):
    four += 1
  else:
    two += 1

if(two < 2 and two > 0):
  zero += 1

if(zero > four + 1):
  print("No")
else:
  print("Yes")

