#include <bits/stdc++.h>
using namespace std;
long long x[100010];
int main() {
  int n;
  cin >> n;
  long long num = 0, m = 0;
  for (int i = 0; i < n; i++) {
    cin >> x[i];
    if (x[i] % 4 == 0) num++;
    if (x[i] == 2) m++;
  }
  n -= m;
  if (m != 0) {
    if (n - num <= num)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  } else {
    if (num != 0 && n - num <= 2)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  }
  return 0;
}
