#include <bits/stdc++.h>
using namespace std;
int main(void){
  int N;
  cin >> N;
  int q_one = 0;
  int q_two = 0;
  int q_four = 0;
  for(int i=0; i<N; i++){
    int tmp;
    cin >> tmp;
    tmp %= 4;
    if(tmp == 0) q_four++;
    else if(tmp == 2) q_two++;
    else q_one++;
  }
  q_two %= 2;
  bool tf = false;
  if(q_two == 1){
    if(q_four > =q_one-1) tf = true;
  }else{
    if(q_four >= q_one) tf = true;
  }
  if(tf) cout << "Yes" << endl;
  else cout << "No" << endl;
  return 0;
}