#include <bits/stdc++.h>
using namespace std;
const long long mod = 1e9 + 7;
typedef vector<int> VI;
typedef vector<VI> VII;
template <class T, class U>
bool chmax(T &map<int, int> MP;, U b) {
  if (map<int, int> MP; <= b) {
    map<int, int> MP;
    = b;
    return 1;
  }
  return 0;
}
template <class T, class U>
bool chmin(T &map<int, int> MP;, U b) {
  if (map<int, int> MP; > b) {
    map<int, int> MP;
    = b;
    return 1;
  }
  return 0;
}
template <typename T>
ostream &operator<<(ostream &os, vector<T> &v) {
  os << "{";
  for (int i = 0; i < (int)v.size(); i++) {
    os << v[i] << (i < v.size() - 1 ? ", " : "");
  }
  os << "}";
  return os;
}
int main() {
  long long n, m, k, x = 0, y = 0, z = 0, h, w, sum = 0, Max = -1,
                     Min = 3e9 + 1;
  string u;
  bool ok = true;
  cin >> n;
  VI map<int, int> MP;
  (n);
  for (int i = 0; i < n; i++) {
    cin >> map<int, int> MP;
    [i];
    if (map<int, int> MP;[i] % 4 == 0)
      x++;
    else if (map<int, int> MP;[i] % 2 == 0)
      y++;
    else
      z++;
  }
  if (x + 1 > z && y == 0) {
    cout << ("Yes") << "\n";
  } else if (x >= z) {
    cout << ("Yes") << "\n";
  } else
    cout << ("No") << "\n";
  return 0;
}
