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