#include <iostream>
using namespace std;

int main()
{
    int n;
    cin >> n;
    int a[n];
    int count[3] = {0, 0, 0}; 
    cin >> a;
    for (i = 0; i < n; i++) {
        if (a[i] % 4 == 0){
            count[0]++;
        } else if (a[i] % 2 == 0){
            count[1]++;
        } else {
            count[2]++;
        }
    }
    if (count[1] > 0) {
        if (count[0] >= count[2]) {
            cout << "Yes";
        } else {
            cout << "No";
        }
    } else {
        if (count[0]+1 >= count[2]) {
            cout << "Yes";
        } else {
            cout << "No";
        }
    } 
    return 0;
}