#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  vector<int> a(n);
  for (int i = 0; i < (int)(n); i++) cin >> a[i];
  vector<int> b(4, 0);
  for (int i = 0; i < (int)(n); i++) {
    b[a[i] % 4]++;
  }
  for (int i = 0; i < (int)(b[0]); i++) {
    for (int j = 0; j < (int)(2); j++) {
      if (b[1] > 0)
        b[1]--;
      else if (b[3] > 0)
        b[3]--;
      else if (b[2] > 0)
        b[2]--;
    }
  }
  if (b[1] > 0 || b[3] > 0) {
    cout << "No";
    return 0;
  }
  if (b[2] != 1) {
    cout << "Yes";
    return 0;
  }
  cout << "No";
  return 0;
}
