#![allow(unused_imports)]
// use itertools::Itertools;
use proconio::{input, marker::*};

fn main() {
    input! {
        n: usize,
        aa: [usize; n]
    };
    let mut odds = 0;
    let mut amari2 = 0;
    let mut space4 = 0;
    for a in aa {
        match a % 4 {
            0 => space4 += 2,
            2 => amari2 += 1,
            _ => odds += 1,
        }
    }
    // 2あまりは2個以上あれば打ち消しあえる
    amari2 = std::cmp::min(amari2, 1);
    println!("{}", ["No", "Yes"][((odds + amari2) <= space4) as usize])
}
