#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  cin >> N;
  int A = 0, B = 0, C = 0;
  bool ans = false;
  vector<int> a(N);
  for (int i = 0; i < N; i++) {
    cin >> a.at(i);
    if (a.at(i) % 4 == 0) A++;
    if (a.at(i) % 2 == 1) C++;
  }
  if (A >= C) ans = true;
  if (ans)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
