#include <bits/stdc++.h>
using namespace std;
void func(void);
signed signed long long main(void) {
  func();
  ;
  return 0;
}
void func(void) {
  unsigned signed long long N;
  cin >> N;
  signed signed long long oddCnt = 0;
  signed signed long long evenCnt = 0;
  signed signed long long moreMulit4 = 0;
  for (unsigned signed long long i = 0; i < N; i++) {
    unsigned signed long long a;
    cin >> a;
    unsigned signed long long tmp;
    tmp = a & 1u;
    bool isOdd = (tmp == 1u);
    tmp = a & 3u;
    bool isMulti4 = (tmp == 0);
    if (isOdd) {
      oddCnt++;
    } else if (isMulti4) {
      moreMulit4++;
    } else {
      evenCnt++;
    }
  }
  bool isSuccess = false;
  if (oddCnt == moreMulit4) {
    isSuccess = true;
  } else if ((moreMulit4 - 1) == oddCnt) {
    isSuccess = true;
  } else if (((oddCnt - 1) == moreMulit4) && (evenCnt == 0)) {
    isSuccess = true;
  }
  if (isSuccess) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return;
}
