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