object Main{
  def main(args: Array[String]){
    val input=io.Source.stdin.getLines().mkString("\n")
    println(solve(input).trim())
  }

  def solve(input:String):String={
    val n=input.split("\n")(0).toInt
    val as=input.split("\n")(1).split(" ").map(_.toInt)
    val odd=as.filter(_%2==1).size
    val even2=as.filter(_%4==0).size
    val even=n-odd-even2
    if(even==0 && odd<=even2+1){
      "Yes"
    }else if(odd<=even2){
      "Yes"
    }else{
      "No"
    }
  }
}
