#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  int a[100001];
  cin >> N;
  double counteven1 = 0;
  double counteven2 = 0;
  double counteven4 = 0;
  for (int i = 0; i < N; i++) {
    cin >> a[i];
    if (a[i] % 4 == 0) {
      counteven4++;
    } else if (a[i] % 2 == 0) {
      counteven2++;
    } else
      counteven1++;
  }
  if (counteven2 == 0 && counteven4 * 2 >= counteven1 + 1) {
    cout << "Yes";
  } else if (counteven2 != 0 && counteven4 * 2 >= counteven1) {
    cout << "Yes";
  } else
    cout << "No";
  return 0;
}
