#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  cin >> N;
  int multiple_of_4 = 0;
  int other = 0;
  int two = 0;
  for (int i = 0; i < N; i++) {
    unsigned long long a;
    cin >> a;
    if (a % 4ULL == 0ULL) {
      multiple_of_4++;
    } else if (a == 2ULL) {
      two++;
    } else {
      other++;
    }
  }
  if (two > 0) {
    other++;
  }
  if (multiple_of_4 * 2 >= other) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
};
