#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  cin >> N;
  vector<int> a(N);
  int zeros = 0, ones = 0, twoes = 0;
  for (int i = 0; i < N; i++) {
    cin >> a[i];
    if (a[i] % 2 != 0) {
      a[i] = 0;
      zeros++;
    } else if (a[i] % 4 != 0) {
      a[i] = 1;
      ones++;
    } else {
      a[i] = 2;
      twoes++;
    }
  }
  if (ones == N) cout << "Yes" << endl;
  if (zeros == 0) cout << "Yes" << endl;
  if (twoes >= zeros)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
