#include <bits/stdc++.h>

using namespace std;

int main()
{
int t;
cin>>t;
int k=t;
int d=0;
while(t--){
    int tg;
    cin>>tg;
    if(tg%4==0) d+=2;
    else if(tg%2==0) d++;
}
if(d>=k) cout<<"Yes";
else cout<"No";
}
