#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int n;
  cin >> n;
  int vals[3] = {0};
  for (int i = 0; i < n; i++) {
    int temp;
    cin >> temp;
    if (temp % 4 == 0) {
      vals[0]++;
    } else if (temp % 4 == 2) {
      vals[1]++;
    } else {
      vals[2]++;
    }
  }
  int len = vals[1];
  if (n == 1) {
    if (vals[0] == 1) {
      cout << "Yes"
           << "\n";
    } else {
      cout << "No"
           << "\n";
    }
  } else {
    if (vals[0] >= (n - len) / 2) {
      cout << "Yes"
           << "\n";
    } else {
      cout << "No"
           << "\n";
    }
  }
  return 0;
}
