#include <bits/stdc++.h>
using ll = long long;
int main(void) {
  int N;
  std::cin >> N;
  std::vector<ll> a(N);
  int not_mod4 = 0;
  int mod4 = 0;
  for (int i = 0; i < N; ++i) {
    std::cin >> a[i];
    if (a[i] % 4 == 0) {
      mod4++;
    } else {
      not_mod4++;
    }
  }
  if (not_mod4 - 1 <= mod4) {
    std::cout << "Yes" << std::endl;
  } else {
    std::cout << "No" << std::endl;
  }
  return 0;
}
