#include <bits/stdc++.h>
using namespace std;
int main() {
  int N, cnt2 = 0, cnt4 = 0;
  cin >> N;
  for (int i = 0; i < N; i++) {
    int A;
    cin >> A;
    if (A % 4 == 0) {
      cnt4++;
    } else if (A % 2 == 0) {
      cnt2++;
    }
  }
  if (N == 1) {
    cout << (cnt4 ? "Yes" : "No") << endl;
    return 0;
  }
  if (N <= 3 * cnt4) {
    cout << (1 ? "Yes" : "No") << endl;
  } else if (N - 3 * cnt4 <= cnt2) {
    cout << (1 ? "Yes" : "No") << endl;
  } else {
    cout << (0 ? "Yes" : "No") << endl;
  }
  return 0;
}
