#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);
const long long INF = 1e9;
const long long MOD = 1e9 + 7;
int main() {
  int N, x = 0, y = 0;
  cin >> N;
  for (int i = (0); i < (N); ++i) {
    int a;
    cin >> a;
    if (a % 4 == 0) x++;
    if (a % 2 == 1) y++;
  }
  int z = N - x - y;
  if (z == 0) y++;
  if (x >= y)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
