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