#include <bits/stdc++.h>
using namespace std;
int g, b, f;
int main() {
  int n;
  cin >> n;
  for (int i = 0; i < n; i++) {
    int x;
    cin >> x;
    if (x % 2 == 1) {
      b++;
    } else {
      if (x % 4 == 0) {
        g++;
      } else {
        f++;
      }
    }
  }
  if (g >= b) {
    cout << "Yes";
    return 0;
  } else {
    if (g == b - 1 and f == 0) {
      cout << "Yes";
      return 0;
    }
    cout << "NO";
  }
  return 0;
}
