#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, notfours = 0;
  for (long long i = 0; i < N; ++i) {
    long long a;
    cin >> a;
    if (a % 4 == 0)
      ++fours;
    else
      ++notfours;
    if (a % 4 != 0 and a % 2 == 0) ++twos;
  }
  if (fours > 0) notfours -= fours + 1;
  if (notfours <= 0 or (twos >= 2 and twos >= notfours))
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
