#include <bits/stdc++.h>
using namespace std;
const long long MOD = 1e9 + 7;
const long long INF = 1e12;
const int inf = 1e9;
const int mod = 1e9 + 7;
int main() {
  cout << fixed << setprecision(10);
  int n;
  cin >> n;
  vector<long long> v(n);
  for (int i = 0; i < (n); i++) cin >> v[i];
  long long n2 = 0, n4 = 0;
  for (int i = 0; i < (n); i++) {
    if (v[i] % 4 == 0)
      n4++;
    else if (v[i] % 2 == 0)
      n2++;
  }
  if (n4 * 3 >= n) {
    cout << "Yes" << endl;
    return 0;
  } else if (n4 >= 1) {
    if (n2 >= n - n4 * 2)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
    return 0;
  } else if (n2 >= n) {
    cout << "Yes" << endl;
    return 0;
  } else
    cout << "No" << endl;
  return 0;
}
