#include <bits/stdc++.h>
using namespace std;
int main() {
  std::ios::sync_with_stdio(false);
  std::cin.tie(0);
  int n, temp;
  cin >> n;
  int sum_four = 0, sum_two = 0;
  for (int i = 0; i < n; i++) {
    cin >> temp;
    if (temp % 4 == 0) {
      sum_four++;
    } else if (temp % 2 == 0) {
      sum_two++;
    }
  }
  if (sum_two % 2 == 1) {
    sum_two--;
  }
  n -= sum_two / 2;
  if (sum_two + sum_four >= n - 2) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
