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