#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, t, count_4(0), count_2(0), count_initial(0);
  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 > 0 && count_4 >= count_initial)
    cout << "Yes";
  else {
    if (count_4 > 0 && count_4 + 1 >= count_initial)
      cout << "Yes";
    else
      cout << "No";
  }
  cout << endl;
  return 0;
}
