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