n=input()
nums=list(map(int,input().split(" ")))
n4=0
m2=0
m4=0
for num in nums:
  if num%4!=0:
    n4+=1
  if num%4==0:
    m4+=1
  elif num%2==0:
    m2+=1
if n4-m2<=m4+1:
  print("Yes")
else:
  print("No")
  