#include <bits/stdc++.h>
using namespace std;
const int INF = 1e9 + 1;
template <class T>
inline bool chmax(T& a, T b) {
  if (a < b) {
    a = b;
    return 1;
  }
  return 0;
}
template <class T>
inline bool chmin(T& a, T b) {
  if (a > b) {
    a = b;
    return 1;
  }
  return 0;
}
int main() {
  int N;
  cin >> N;
  vector<int> a(N);
  for (int i = 0; i < N; i++) cin >> a[i];
  int four = 0, two = 0;
  for (int i = 0; i < N; i++) {
    if (a[i] % 4 == 0)
      four++;
    else if (a[i] % 2 == 0)
      two++;
  }
  int ans = four * 2;
  if (four) ans += 1;
  if (two >= 2) ans += two;
  if (ans < N) {
    cout << "No\n";
  } else {
    cout << "Yes\n";
  }
}
