#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int N;
  cin >> N;
  int four = 0, two = 0;
  for (int i = 0; i < N; i++) {
    long long int tmp_a;
    cin >> tmp_a;
    if (tmp_a % 4 == 0)
      four++;
    else if (tmp_a % 2 == 0)
      two++;
  }
  if (N <= (2 * four + two))
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
