#include <bits/stdc++.h>
using namespace std;
int a = 0, b = 0, c = 0;
int main() {
  int N;
  cin >> N;
  for (int i = 0; i < N; ++i) {
    int t;
    cin >> t;
    (t % 4 == 0 ? a : t % 2 == 0 ? b : c) += 1;
  }
  if (b % 2) ++c;
  cout << (a >= c ? "Yes" : "No") << endl;
}
