#include <bits/stdc++.h>
using namespace std;
int main() {
  long long N;
  cin >> N;
  long long a[N];
  long long no, n4;
  no = 0;
  n4 = 0;
  for (long long i = 0; i < N; i++) {
    cin >> a[i];
    if (a[i] % 2 == 1) {
      no++;
    }
    if (a[i] % 4 == 0) {
      n4++;
    }
  }
  if (no > n4 + 1) {
    cout << "No" << endl;
    return 0;
  }
  if (no == n4 + 1 && 2 * no + 1 < N) {
    cout << "No" << endl;
    return 0;
  }
  cout << "Yes" << endl;
}
