#include <iostream>

int main() {
	int n;
	std::cin >> n;

	int count2 = 0, count4 = 0;
	for (int i = 0; i < n; ++i) {
		int a;
		std::cin >> a;
		
		if (a % 4 == 0)
			++count4;
		else if (a % 2 == 0)
			++count2;
	}

	if (count4 + count2 / 2 >= n / 2)
		std::cout << "Yes" << std::endl;
	else
		std::cout << "No" << std::endl;
}