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

    let mut x: isize = 0;
    let mut y: isize = 0;

    for i in &a {
        if *i % 4 == 0 {x += 1;}
        else if *i % 2 == 0 {y += 1;}
    }

    println!("{}", if n >= n/2 {"Yes"} else if n == 2*x+y+n%2  {"Yes"} else {"No"});
}

