#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int n;
  int a;
  int ki = 0;
  int gu4 = 0;
  cin >> n;
  for (int i = (1); i <= (n); i++) {
    cin >> a;
    if (a % 4 == 0) {
      gu4++;
    } else if (a % 2 == 1) {
      ki++;
    }
  }
  if (gu4 >= ki) {
    cout << "Yes" << endl;
  } else if (n % 2 == 1 && ki + gu4 == n) {
    if (gu4 - 1 >= ki) {
      cout << "Yes" << endl;
    } else {
      cout << "No" << endl;
    }
  } else {
    cout << "No" << endl;
  }
  return 0;
}
