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