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