#include <iostream>
using namespace std;

int main() {
    int n; cin >> n;
    int cnt = 0;
    for (int i = 0; i < n; i++) {
        int a; cin >> a;
        if (a % 2 == 1) cnt--;
        if (a % 4 == 0) cnt++;
    }
    string ans = "No";
    if ((n % 2 == 0 && cnt >= 0) || (n % 2 == 1 && cnt >= -1)) ans = "Yes";
    cout << ans << endl;
}