use std::io::*;

fn main() {
    let stdin = std::io::stdin();
    let mut reader = std::io::BufReader::new(stdin.lock());
    let mut s = String::new();
    let n: usize = reader.read_line(&mut s).unwrap();
    let mut s = String::new();
    reader.read_line(&mut s).unwrap();
    let a: Vec<usize> = s.split_whitespace().map(|x| x.parse().unwrap()).collect();

    let four = a.iter().filter(|x| **x % 4 == 0).count();
    let two = a.iter().filter(|x| **x % 4 != 0 && **x % 2 == 0).count();

    println!("{}", if four * 2 + two / 2 > n { "Yes" } else { "No" });
}
