n=int(input())
a=list(map(int,input().split()))
a_mod4_or_2=[]
for aa in a:
  v=0
  if aa%2 == 0:
    if aa%4 == 0:
      v=4
    else:
      v=2
  a_mod4_or_2.append(v)
c2=a_mod4_or_2.count(2)
c4=a_mod4_or_2.count(4)
c0=n-(c2+c4)
cc=2*c4-(c2%2)-c0

print("Yes" if cc >= 0 else "No")
