#include <bits/stdc++.h>
using namespace std;
int n;
vector<int> vec;
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  cin >> n;
  int a;
  while (cin >> a) {
    if (a % 4 == 0) {
      vec.push_back(2);
    } else if (a % 2 == 0) {
      vec.push_back(1);
    } else {
      vec.push_back(0);
    }
  }
  int zero = count(vec.begin(), vec.end(), 0);
  int four = count(vec.begin(), vec.end(), 2);
  if (n % 2 == 0) zero--;
  if (zero <= four || (n == 3 && four == 1)) {
    cout << "Yes"
         << "\n";
  } else {
    cout << "No"
         << "\n";
  }
}
