use proconio::input;
#[allow(unused_imports)]
use proconio::marker::{Bytes, Chars};
#[allow(unused_imports)]
use std::cmp::{min, max};

fn main() {
	input! {
		n: usize,
		a: [usize; n],
	}

	// 2の倍数でない
	// 2
	// 4の倍数

	let mut count4 = 0;
	let mut count2 = 0;
	let mut count0 = 0;
	for i in 0..n {
		if a[i] % 4 == 0 {
			count4 += 1;
		}
		else if a[i] == 2 {
			count2 += 1;
		}
		else {
			count0 += 1;
		}
	}

	if count2 > 0 {
		count0 += 1;
	}
	if count0 <= count4 + 1 {
		println!("Yes");
	}
	else {
		println!("No");
	}
}

