#include <bits/stdc++.h>
using namespace std;
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;
}
const long long INF = 1LL << 60;
const int MAX = 1000000010;
const long long MOD = 1000000007;
int main() {
  int N;
  cin >> N;
  int odd = 0;
  int four = 0;
  for (int i = 0; i < N; i++) {
    int x;
    scanf("%d", &x);
    if (x % 2 == 1) odd++;
    if (x % 4 == 0) four++;
  }
  if (odd <= four) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
