#include <iostream>
#include <vector>

using namespace std;

int main() {
    int n;
    cin >> n;
    int ans = 0;
    int d = 0;
    for (int i=0; i<n; i++) {
        int a;
        cin >> a;
        if (a%4 == 0) ans++;
        else if (a%2 == 0) d++;
    }

    cout << ((ans+d/2)>=n/2?"Yes":"No") << endl;
}
