#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int multiples = 0;
  int evens = 0;
  for (int i = 0; i < n; i++) {
    int x;
    cin >> x;
    if (x % 4 == 0) {
      multiples += 2;
    } else if (x % 2 == 0) {
      evens++;
    }
  }
  evens -= evens % 2;
  multiples += evens;
  if ((n - multiples <= 1) && multiples > 0) {
    cout << "Yes";
  } else {
    cout << "No";
  }
  return 0;
}
