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

int main() {
    int N;
    int a[100001];
    cin >>N;
    double counteven2=0;
    double counteven4=0;
    for(int i=0;i<N;i++){
        cin>>a[i];
        if(a[i]%4==0){
            counteven4+=3.0;
        }else if(a[i]%2==0){
            counteven2++;
        }
    }
    if(counteven4>=N||N-counteven4<=counteven2||){
        cout<<"Yes";
    }else cout<<"No";
    return 0;
}
