#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n;
  cin >> n;
  long long num_two = 0;
  long long num_four = 0;
  for (long long i = 0; i < n; i++) {
    long long x;
    cin >> x;
    if (x % 4 == 0)
      ++num_four;
    else if (x % 2 == 0)
      ++num_two;
  }
  if ((num_two > 1) && num_four >= (n - num_two) / 2 || num_four >= n / 2)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
