#include <bits/stdc++.h>
using namespace std;
int main() {
  long int n;
  cin >> n;
  int a = 0;
  int b = 0;
  for (int i = 0; i < n; i++) {
    long long int num;
    cin >> num;
    if (num % 4 == 0) {
      a++;
    } else if (num % 2 == 0) {
      b++;
    }
  }
  if (a + b / 2 > n)
    cout << "Yes";
  else
    cout << "No";
  return 0;
}
