#include<bits/stdc++.h>
using namespace std;
int N,a,o,t,f;
int main(){
    cin>>N;
    while(N--){
        cin>>a;
        if(a%2)++o;
        else if(a%4)++t;
        else ++f;
    }
    cout<<(f+1<o+(t>0)?"No":"Yes")<<endl;
}
