#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  vector<int> A(n);
  for (int i = 0; i < n; i++) cin >> A[i];
  int cnt2 = 0;
  int cnt4 = 0;
  for (auto &&a : A) {
    if (a % 4 != 0 and a % 2 == 0)
      cnt2++;
    else if (a % 4 == 0)
      cnt4++;
  }
  n -= cnt2;
  if (cnt4 >= n / 2)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
