object Main {
  def main(args: Array[String]): Unit = {
    val sc = new java.util.Scanner(System.in)
    val n = sc.nextInt
    val a = List.fill(n)(sc.nextInt)

    val multipleOf4 = a.filter( _ % 4 == 0)
    val ans = if (multipleOf4.length < a.length / 2) "No" else "Yes"

    println(ans)
  }
}