#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int a, x = 0, y = 0, z = 0;
  for (int i = 0; i < n; i++) {
    cin >> a;
    if (a % 4 == 0)
      x++;
    else if (a % 2 == 0)
      y++;
    else
      z++;
  }
  if (y > 0) z++;
  if (2 * x >= z)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
