#include <bits/stdc++.h>
template <class T, class S>
void cmin(T &a, const S &b) {
  if (a > b) a = b;
}
template <class T, class S>
void cmax(T &a, const S &b) {
  if (a < b) a = b;
}
using namespace std;
signed main() {
  long long int n;
  cin >> n;
  bool foo = true;
  long long int four = 0, two = 0, hoge = 0;
  for (long long int i = 0; i < n; i++) {
    long long int a;
    cin >> a;
    if (a % 4 == 0)
      four++;
    else if (a % 2 == 0)
      two++;
    else {
      hoge++;
      foo = false;
    }
  }
  if (foo) {
    return puts("Yes") * 0;
  };
  if (two == 1) hoge += 1;
  while (four-- > 0) hoge -= 2;
  if (hoge <= 0 && two != 1)
    return puts("Yes") * 0;
  else
    cout << "No" << endl;
}
