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