#include <iostream>
using namespace std;
int main(){
int n,t,a[3]={0};
cin>>n;
for(int i=0;i<n;i++){
cin>>t;
a[t%2==0?t%4==0?2:1:0]++;
}
if((a[1] && a[0] <= a[2]) || (!a[1] && a[0] <= a[2] +1))
cout<<"Yes"; else cout<<"No";
cout<<endl;
return 0;
}