import scala.io.StdIn

object Main extends App {

  val n = StdIn.readInt
  val a = StdIn.readLine.split(" ").map(_.toLong)
  
  val odd = a.count(i => (i&1) == 1)
  val even = a.count(i => (i&1) == 0)
  val mlt4 = a.count(i => (i&3) == 0)

  // println(odd + " " + even + " " + mlt4)

  val ans = if(odd == mlt4+1) {
    if(even == mlt4) "Yes"
    else "No"
  }
  else if(odd <= mlt4) "Yes" else "No"
  println(ans)
}