#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int n, m = 0;
  cin >> n;
  for (int i = 0; i < n; i++) {
    int s;
    cin >> s;
    if (s % 4 == 0)
      m++;
    else if (s % 2 == 0)
      n--;
  }
  if (n / 2 + (n == 1) <= m)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
