#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, t, a[3];
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> t;
    if (t % 2 == 0) a[t % 4 == 0 ? 2 : 1]++;
  }
  if ((a[1] && a[0] <= a[2]) || (a[0] <= a[2] + 1))
    cout << "Yes";
  else
    cout << "No";
  cout << endl;
  return 0;
}
