#include <bits/stdc++.h>
using namespace std;
const int dx[4] = {1, 0, -1, 0};
const int dy[4] = {0, 1, 0, -1};
int main() {
  int N;
  cin >> N;
  vector<long long> a(N);
  int odd = 0, teven = 0, feven = 0;
  for (int i = 0; i < N; i++) {
    cin >> a[i];
    if (a[i] % 4 == 0)
      feven++;
    else if (a[i] % 2 == 0)
      teven++;
    else
      odd++;
  }
  if (teven == 1) {
    teven--;
    odd++;
  }
  if (odd <= feven + 1)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
