#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  cin >> N;
  int count2 = 0;
  int count4 = 0;
  for (int i = 0; i < N; i++) {
    int a;
    cin >> a;
    if (a % 2 == 0 && a % 4 != 0) {
      count2++;
    }
    if (a % 4 == 0) {
      count4++;
    }
  }
  string answer = "No";
  N = N - count4;
  if (N <= count4 + 1) {
    cout << "Yes" << endl;
    return 0;
  }
  count2 -= count2 % 2;
  N = max(N - (count4 * 2 + 1), 0);
  if (N / 2 <= count2 && 2 <= count2) {
    cout << "Yes" << endl;
    return 0;
  }
  cout << "No" << endl;
  return 0;
}
