#include <bits/stdc++.h>
using namespace std;
const int maxn = 100000;
int main() {
  int n;
  cin >> n;
  int f_multiple = 0, t_multiple = 0;
  int non_even = 0;
  for (int i = 0; i < n; i++) {
    int x;
    cin >> x;
    if (x % 4 == 0) {
      f_multiple++;
    } else if (x % 2 == 0) {
      t_multiple++;
    } else {
      non_even++;
    }
  }
  non_even;
  if ((t_multiple > 0 && non_even <= f_multiple) ||
      (t_multiple == 0 && non_even + 1 <= f_multiple)) {
    cout << "Yes" << endl;
    ;
  } else {
    cout << "No" << endl;
    ;
  }
  return 0;
}
