#include <bits/stdc++.h>
using namespace std;
int main() {
  cin.tie(0);
  cout.tie(0);
  ios::sync_with_stdio(false);
  long long N;
  cin >> N;
  long long fours = 0, twos = 0, others = 0;
  for (long long i = 0; i < N; ++i) {
    long long a;
    cin >> a;
    if (a % 4 == 0)
      ++fours;
    else if (a % 2 == 0)
      ++twos;
    else
      ++others;
  }
  if ((others + twos - fours * 2) <= 0 or
      ((others - fours * 2) <= 0 and twos % 2 == 0))
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
