#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, i, j, k, mod2 = 0, mod4 = 0, gg = 0;
  int a[100005];
  cin >> n;
  for (i = 0; i < n; i++) {
    cin >> a[i];
    if (a[i] % 4 == 0)
      mod4++;
    else if (a[i] % 2 == 0)
      mod2++;
    else
      gg++;
  }
  if (mod4 >= gg)
    cout << "Yes" << endl;
  else {
    if (mod2 == 0) {
      if (mod4 + 1 >= gg)
        cout << "Yes";
      else
        cout << "No";
    }
  }
  return 0;
}
