use std::io::*;
// hは最終的に0未満になってる可能性があることに注意!

fn main() {
    let mut s: String = String::new();
    std::io::stdin().read_to_string(&mut s).ok();
    let mut itr = s.trim().split_whitespace();
    let n: usize = itr.next().unwrap().parse().unwrap();
    let a: Vec<usize> = (0..n)
        .map(|_| itr.next().unwrap().parse().unwrap())
        .collect();

    let mut four = 0;
    let mut two = 0;
    let mut other = 0;
    for &i in a.iter() {
        if i % 4 == 0 {
            four += 1;
        } else if i % 2 == 0 {
            two += 1;
        } else {
            other += 1;
        }
    }
    two = two / 2 + two % 2;
    if other + two <= four + 1 {
        println!("Yes");
    } else {
        println!("No");
    }
}
