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