fun main(args:Array<String>) {
  val n = readLine()!!
  var xs = readLine()!!.split(" ").map(String::toInt)

  val quads = xs.filter { it%4 == 0 }.size
  xs = xs.filter { it%4 != 0 } 

  val twices = xs.filter { it%2 == 0 }.size
  xs = xs.filter { it%2 != 0 } 

  val noks = xs.size

  when { 
    (noks - quads) <= 1 && twices%2 == 0  -> "Yes"
    (noks + twices  - quads) <= 1 && twices%2 == 1  -> "Yes"
    else -> "No"
  }.run(::println)

  //println( noks -  quads )
}