use std::io::*;
use std::str::FromStr;

fn read<T: FromStr>() -> T {
    let stdin = stdin();
    let stdin = stdin.lock();
    let token: String = stdin
        .bytes()
        .map(|c| c.expect("filed to read char") as char)
        .skip_while(|c| c.is_whitespace())
        .take_while(|c| !c.is_whitespace())
        .collect();
    token.parse().ok().expect("failed to parse token")
}

fn main() {
    let n:usize = read();
    let arr:Vec<usize> = (0..n).map(|_| read()).collect();
    let cnt = arr.iter().filter(|&&x| x % 4 == 0).count();
    if arr.len() <= cnt * 3 {
        println!("Yes");
    } else {
        if arr.len() == 2 {
            if arr[0] * arr[1] % 4 == 0 {
                println!("Yes");
            }
        }
        println!("No");
    }
}
