#include <bits/stdc++.h>
using namespace std;
int main() {
  int64_t n, t, count_4(0), count_2(0), count_initial;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> t;
    t %= 4;
    if (t == 0)
      count_4++;
    else if (t == 2)
      count_2++;
  }
  count_initial = n - (count_4 + count_2);
  if (count_2 && (count_4 >= count_initial)) {
    cout << "Yes";
    return 0;
  } else if (count_4 && (count_4 + 1 >= count_initial)) {
    cout << "Yes";
    return 0;
  }
  cout << "No";
  return 0;
}
