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