#include<bits/stdc++.h>
using namespace std;
int a = 0,b = 0,c = 0;
int main(){
    int N; cin >> N;
    for(int i = 0; i < N; ++i){
        int t; cin >> t;
        (t % 4 == 0 ? a : t % 2 == 0 ? b : c)  += 1;
    }
    if(b % 2)
        ++c;
    if(a == 0 and c > 0) return puts("No") * 0;
    cout << ( a + 1 >= c  ? "Yes" : "No") << endl;

}
