#include <bits/stdc++.h>
using namespace std;
inline int getInt() {
  int x;
  scanf("%d", &x);
  return x;
}
template <typename T>
inline istream& operator>>(istream& i, vector<T>& v) {
  for (int j = 0; j < ((int)(v).size()); ++j) i >> v[j];
  return i;
}
template <typename T>
string join(const vector<T>& v) {
  stringstream s;
  for (int i = 0; i < ((int)(v).size()); ++i) s << ' ' << v[i];
  return s.str().substr(1);
}
template <typename T>
inline ostream& operator<<(ostream& o, const vector<T>& v) {
  if ((int)(v).size()) o << join(v);
  return o;
}
template <typename T1, typename T2>
inline istream& operator>>(istream& i, pair<T1, T2>& v) {
  return i >> v.first >> v.second;
}
template <typename T1, typename T2>
inline ostream& operator<<(ostream& o, const pair<T1, T2>& v) {
  return o << v.first << "," << v.second;
}
const double eps = 1e-10;
const long long int LINF = 1001002003004005006ll;
const int INF = 1001001001;
const int MX = 200005;
void Main() {
  int n;
  cin >> n;
  vector<long long int> a(n);
  cin >> a;
  int a0 = 0;
  int a1 = 0;
  int a2 = 0;
  for (int i = 0; i < (n); ++i) {
    if (a[i] % 2 == 0) {
      a[i] /= 2;
      if (a[i] % 2 == 0) {
        a2++;
      } else {
        a1++;
      }
    } else {
      a0++;
    }
  }
  if (a2 >= a0) {
    cout << "Yes" << endl;
  } else {
    if (a1 == 0) {
      if (a2 >= a0 + 1) {
        cout << "Yes" << endl;
      }
    }
    cout << "No" << endl;
  }
}
int main(int argc, char** argv) {
  cin.tie(nullptr);
  std::ios::sync_with_stdio(false);
  ;
  ifstream iofi;
  if (argc > 1) {
    iofi.open(argv[1]);
    std::cin.rdbuf(iofi.rdbuf());
  };
  int loop = 1;
  if (argc > 2) loop = stoi(argv[2]);
  for (int i = 0; i < (loop); ++i) Main();
}
