#include <iostream>
#include <vector>
#include <algorithm>
#include <climits>

using namespace std;

int main(void){
    int N;
    vector <int> a;
    int sub;
    bool judge = false;
    int cnt = 0;
    int two_cnt = 0;
    int four_cnt = 0;
    
    cin >> N;
    for(int i = 0; i < N; i++){
        cin >> sub;
        a.push_back(sub);
    }
    
    for(int i = 0; i < N; i++){
        if(a[i] % 2 == 0)       two_cnt++;
        if(a[i] % 4 == 0)       four_cnt++;
        two_cnt -= four_cnt;            // two_cntは2で割り切れるが4では割り切れない要素の個数を表す
    }
    
    if(four_cnt >= N / 2)       judge = true;
    else{
        if(two_cnt >= N - four_cnt * 2)     judge = true;
    }
    
    if(judge)           cout << "Yes\n";
    else                cout << "No\n";
}