#include<iostream>

using namespace std;

int main()
{int N ; long long A[N];
 for(int i = 0; i < N; i++){cin >> A[i];}
 
 if( N == 1 && A[0] % 4 == 0){cout << "Yes" << endl;}
 else if( N == 1 && A[0] % 4 != 0){cout << "No" << end;l}
 else{
 int s = 0;int  t = 0; int u = 0;
 for(int j = 0; j < N ; j++){
   if(A[j] % 4 == 2){ t++;}
   else if(A[j] % 4 == 0){s++;}
   else{ u++;}}
 
 if( 2*s + t >= N){ cout << "Yes" << endl;}
 else{ cout << "No" << endl;}}
 return 0;
}