#include <iostream>

using namespace std;

typedef long long ll;

int main()
{
    int N;
    cin >> N;
    int c1 = 0, c2 = 0;
    for (int i = 0; i < N; i++) {
        ll a;
        cin >> a;
        if (a % 4 == 0) c1++;
        else if (a%2 == 0) c2++;
    }

    cout << (N-(c2==0) <= c1*2+c2 ? "Yes" : "No") << endl;
}