#include <bits/stdc++.h>
using namespace std;
int N = 0;
double an[10000 + 1];
int main() {
  cin >> N;
  for (int i = 0; i < N; ++i) {
    cin >> an[i];
  }
  int one = 0;
  int twn = 0;
  int forth = 0;
  for (int i = 0; i < N; ++i) {
    if (int(an[i]) % 2 == 0) {
      an[i] = an[i] / 2;
      if (int(an[i]) % 2 == 0) {
        forth++;
      } else {
        twn++;
      }
    } else {
      one++;
    }
  }
  if (twn == 0 && one <= forth + 1) {
    cout << "Yes" << endl;
  } else if (one <= forth) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
