#include<iostream>
using namespace std;
int main(){
    int n,x2=0,x4=0;
    cin >> n;
    int a[n];
    for(int i=0;i<n;i++){
        cin >> a[i];
        if(a[i]%2==0) x2++;
        if(a[i]%4==0) x4++;
    }
    x2-=x4;
    if(n/2 <= x4+x2/2) cout << "Yes" << endl;
    else cout << "No" << endl;

}