#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int a, x = 0, y = 0;
  for (int i = 0; i < n; i++) {
    cin >> a;
    if (a & 1) x++;
    if (a & 3) y++;
  }
  if (y >= x - 1)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
