#include <bits/stdc++.h>
using namespace std;
const int INF = 1e9;
int main() {
  int n, a, four = 0, two = 0, other = 0;
  cin >> n;
  for (int i = 0; i < (n); i++) {
    cin >> a;
    if (a % 4 == 0)
      four++;
    else if (a % 2 == 0)
      two++;
    else
      other++;
  }
  bool flg = false;
  if (two >= 2) {
    if (four >= other) flg = true;
  } else if (two <= 1) {
    if (four * 2 >= other + two) flg = true;
  }
  cout << (flg ? "Yes" : "No") << endl;
  return 0;
}
