#include <bits/stdc++.h>
using std::cin;
using std::cout;
using std::endl;
using std::string;
using std::vector;
int main() {
  int N;
  cin >> N;
  vector<int> a(N);
  int div2 = 0;
  int div4 = 0;
  for (int i = 0; i < (N); ++i) {
    cin >> a[i];
    if (a[i] % 4 == 0)
      div4++;
    else if (a[i] % 2 == 0)
      div2++;
  }
  if (div4 == 0) {
    cout << "No" << endl;
    return 0;
  }
  if (div4 * 3 >= N) {
    cout << "Yes" << endl;
    return 0;
  }
  N -= (div4 - 1) * 3;
  N -= 2;
  N -= div2;
  if (N <= 0)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
