#include <bits/stdc++.h>
using namespace std;
inline int toInt(string s) {
  int v;
  istringstream sin(s);
  sin >> v;
  return v;
}
template <class T>
inline string toString(T x) {
  ostringstream sout;
  sout << x;
  return sout.str();
}
template <class T>
inline T sqr(T x) {
  return x * x;
}
const double EPS = 1e-10;
const double PI = acos(-1.0);
int main(void) {
  int temp, N;
  cin >> N;
  int num1 = 0, num4 = 0;
  for (int i = (0); i < (N); ++i) {
    cin >> temp;
    if (temp % 4 == 0) num4++;
    if (temp % 2 == 1) num1++;
  }
  if (num1 <= num4)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
