#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  int a = 0;
  cin >> n;
  vector<int> v(n);
  for (int i = 0; i < n; i++) {
    cin >> v[i];
    a += ((v[i] % 2 == 0) ? 1 : 0) + ((v[i] % 4 == 0) ? 1 : 0);
  }
  cout << ((a + 1 >= n) ? "Yes" : "No");
  cout << endl;
  return 0;
}
