import java.util.Scanner

object Main extends App {
  val sc = new Scanner(System.in)

  val n = sc.nextInt

  val al = Seq.fill(n)(sc.nextInt)

  val div2 = al.filter(_ % 2 == 0)
  val (divOnly2, divOver4) = div2.partition(_ % 4 != 0)

  val oddCon      = n - div2.size
  val divOnly2Con = divOnly2.size
  val divOver4Con = divOver4.size

  val res =
    if(divOnly2Con >= 1) if( divOver4Con >= oddCon ) "Yes" else "No"
    else if(  divOver4Con + 1 >= oddCon ) "Yes" else "No"

  println(res)
}

/*
*
*
*
*
* */