#include <bits/stdc++.h>
using namespace std;
const int64_t MOD = 1e9 + 7;
int main() {
  int64_t n, m;
  cin >> n;
  vector<long> a(n);
  long num4 = 0;
  long num2 = 0;
  long num0 = 0;
  for (int i = 0; i < n; ++i) {
    cin >> a[i];
    if (a[i] % 4 == 0) num4++;
    if (a[i] % 4 != 0 && a[i] % 2 == 0) num2++;
    if (a[i] % 4 != 0 && a[i] % 2 != 0) num0++;
  }
  long ans = 0;
  num4 += num2 / 2;
  num0 += num2 % 2;
  if (n % 2 == 0) {
    cout << (num0 <= num4 ? "Yes" : "No") << endl;
  } else {
    if (n != 1) {
      cout << (num0 - 1 <= num4 ? "Yes" : "No") << endl;
    } else {
      cout << (num0 == 0 ? "Yes" : "No") << endl;
    }
  }
  return 0;
}
