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