#include <bits/stdc++.h>
using namespace std;
template <typename T>
T gcd(T x, T y) {
  if (y == 0) return x;
  return gcd(y, x % y);
}
template <typename T>
T lcm(T x, T y) {
  if (x == 0 || y == 0) return 0;
  return x / gcd(x, y) * y;
}
int main() {
  int N;
  cin >> N;
  int cnt = 0;
  int cnt2 = 0;
  for (int i = 0; i < N; i++) {
    int a;
    cin >> a;
    if (a % 4 == 0)
      cnt++;
    else if (a % 2 == 0)
      cnt2++;
  }
  if (cnt2 > 1) N -= cnt2;
  cout << (cnt >= (N / 2) ? "Yes" : "No") << endl;
}
