#include <bits/stdc++.h>
using namespace std;
void Main() {
  int n;
  cin >> n;
  int count[3];
  for (int i = (0); i < (n); ++i) {
    int l;
    cin >> l;
    if ((l & 3) == 0) {
      count[2]++;
    } else if ((l & 3) == 2) {
      count[1]++;
    } else {
      count[0]++;
    }
  }
  (count[1] == 0 && count[0] <= count[2] + 1) ||
          (count[1] != 0 && count[0] <= count[2])
      ? cout << "Yes" << endl
      : cout << "No" << endl;
}
int main() {
  cin.tie(nullptr);
  ios_base::sync_with_stdio(false);
  Main();
}
