#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  cin >> N;
  int a[10000];
  for (int i = 0; i < N; i++) cin >> a[i];
  int four = 0, two = 0, odd = 0;
  for (int i = 0; i < N; i++) {
    if (a[i] % 4 == 0)
      four++;
    else if (a[i] % 2 == 0)
      two++;
    else
      odd++;
  }
  if (two != 0) {
    if (odd <= four)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  } else {
    if ((odd - 1) <= four)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  }
  return 0;
}
