#include <bits/stdc++.h>
using namespace std;
template <class T>
inline bool chMax(T& a, T b) {
  if (a < b) {
    a = b;
    return true;
  }
  return false;
}
template <class T>
inline bool chMin(T& a, T b) {
  if (a > b) {
    a = b;
    return true;
  }
  return false;
}
int main() {
  long long N;
  cin >> N;
  vector<long long> yon, gusu, kisu;
  for (unsigned int i = 0; i < N; i++) {
    long long temp;
    cin >> temp;
    if (temp % 4 == 0) {
      yon.push_back(temp);
    } else if (temp % 2 == 0) {
      gusu.push_back(temp);
    } else {
      kisu.push_back(temp);
    }
  }
  if (kisu.size() == 2 && yon.size() == 1 && gusu.size() == 0) {
    cout << "Yes" << endl;
  } else if (kisu.size() <= yon.size()) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
