#include <bits/stdc++.h>
using namespace std;
const long long int MAX_N = 100000;
int main() {
  int N;
  int i4;
  int i2;
  int i1;
  cin >> N;
  for (int i = 0; i < N; i++) {
    long long a;
    cin >> a;
    if (a % 4 == 0) {
      i4++;
    } else if (a % 2 == 0) {
      i2++;
    } else {
      i1++;
    }
  }
  if (i2 == 0) {
    if (i1 <= i4 + 1) {
      cout << "Yes" << endl;
    } else {
      cout << "No" << endl;
    }
  } else {
    i1++;
    if (i1 <= i4 + 1) {
      cout << "Yes" << endl;
    } else {
      cout << "No" << endl;
    }
  }
  return 0;
}
