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

int main()
{
    int n;
    cin >> n;
    int cnt1 = 0;
    int cnt2 = 0;

    for(int i = 0, a; i < n; ++i){
        cin >> a;
        if(a % 2) cnt1++;
        if(a%4 == 0) cnt2++;
    }

    if(cnt2>cnt1-1 || (cnt2 >= cnt1-1 && cnt2+cnt1 == n)) cout << "Yes";
    else cout << "No";
    return 0;
}
