#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  int two = 0, four = 0;
  cin >> N;
  for (int i = 0; i < N; i++) {
    int a;
    cin >> a;
    if (a % 4 == 2) two++;
    if (a % 4 == 0) four++;
  }
  int odd = N - two - four;
  if (two > 0) odd++;
  if (odd <= four + 1)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
