#include <bits/stdc++.h>
using ll = long long;
using namespace std;
int main() {
  int n;
  cin >> n;
  int sum = 0;
  for (int i = 0; i < n; ++i) {
    int x;
    cin >> x;
    if (x % 4 == 0) {
      sum += 2;
    } else if (x % 2 == 0) {
      sum += 1;
    }
  }
  cout << ((sum >= n) ? "Yes" : "No") << endl;
  return 0;
}
