#include <bits/stdc++.h>
using namespace std;
void print_yes_no(bool cond, string yes = "Yes", string no = "No") {
  cout << (cond ? yes : no) << endl;
}
int main() {
  auto& stream = cin;
  int mul4 = 0, not_mul4_but_mul2 = 0, other = 0;
  int n;
  stream >> n;
  for (int i = 0; i < n; ++i) {
    int a;
    stream >> a;
    if (a % 4 == 0)
      mul4++;
    else if (a % 2 == 0)
      not_mul4_but_mul2++;
    else
      other++;
  }
  int coverage = 3 * mul4 + not_mul4_but_mul2 / 2 * 2;
  print_yes_no(n <= coverage);
  return 0;
}
