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