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

min_four = N//2
four_count = 0
for a in A:
  if a%4==0:
    four_count+=4
  elif a%2==0:
    four_count+=2

if min_four*4 <= four_count:
  print("Yes")
else:
  print("No")