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