#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int x = 0, y = 0, z = 0;
  for (int i = 0; i < (int)(n); i++) {
    int num;
    cin >> num;
    if (num % 2)
      ++x;
    else if (num / 2 % 2)
      ++y;
    else
      ++z;
  }
  if (2 * z + y >= n)
    cout << "Yes\n";
  else
    cout << "No\n";
  return 0;
}
