#include <bits/stdc++.h>
using namespace std;

int main(){
  int N, A, O, E, Q;
  cin >> N;
  vector<int> C(4);
  
  for (int i = 0; i < N; i++){
    cin >> A;
    C.at(A%4)++;
  }
  if (C.at(1)+C.at(3) <= C.at(0) || (C.at(1) + C.at(3) == C.at(0) + 1 && C.at(2) == 0)){
    cout << "Yes" << endl;
  }
  else{
    cout << "No" << endl;
  }
}