#include <bits/stdc++.h>
using namespace std;

int main(void) {
    int n, fa = 0,ta = 0;
    cin >> n;
    for (int i = 0; i < n; i++) {
        int a;
        cin >> a;
        if (a / 4 * 4 == a) fa++;
        else if (a / 2 * 2 == a) ta++;
    }
    cout << (fa * 2 + ta >= n || fa * 2 + 1 >= n ? "Yes" : "No") << endl;
}
