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