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