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