#include <bits/stdc++.h>
using namespace std;
template <class T>
void initvv(vector<vector<T> > &v, int a, int b, const T &t = T()) {
  v.assign(a, vector<T>(b, t));
}
template <class F, class T>
void convert(const F &f, T &t) {
  stringstream ss;
  ss << f;
  ss >> t;
}
int main() {
  int N;
  cin >> N;
  int four = 0;
  int two = 0;
  int other = 0;
  int a;
  for (int i = 0; i < int(N); ++i) {
    cin >> a;
    if (a % 4 == 0) {
      ++four;
    } else if (a % 2 == 0) {
      ++two;
    } else {
      ++other;
    }
  }
  bool yes = four >= (other + (two / 2) + (two % 2) - 1);
  cout << (yes ? "Yes" : "No") << endl;
  return 0;
}
