#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int num[100000], a = 0, b = 0, c = 0, n = 0;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> num[i];
  }
  for (int i = 0; i < n; i++) {
    if (num[i] % 4 == 0)
      a++;
    else if (num[i] % 2 == 0)
      b++;
    else
      c++;
  }
  if (a == c)
    cout << "Yes" << endl;
  else if (a + 1 == c && c - a > b)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
