object Main extends App {
  val sc = new java.util.Scanner(System.in)
  val n = sc.nextInt()
  val as = List.fill(n)(sc.nextInt())
  var x2 = as.count(a => a % 4 != 0 && a % 2 == 0)
  var x4 = as.count(a => a % 4 == 0)
  println(if (2 * x4 + x2.max(1) >= n) "Yes" else "No")
}
