#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;
int main() {
  int n;
  cin >> n;
  int four = 0, two = 0, hoge = 0;
  for (int i = 0; i < n; i++) {
    int a;
    cin >> a;
    if (a % 4 == 0)
      four++;
    else if (a % 2 == 0)
      two++;
    else
      hoge++;
  }
  two %= 2;
  hoge += two;
  while (four--) hoge -= 2;
  if (hoge <= 0)
    return puts("Yes") * 0;
  else
    cout << "No" << endl;
}
