#include <bits/stdc++.h>
using namespace std;
void Main() {
  int N;
  cin >> N;
  int n1, n2, n4;
  n1 = n2 = n4 = 0;
  for (int i = 0; i < N; i++) {
    int a;
    cin >> a;
    if (a % 4 == 0)
      n4++;
    else if (a % 2 == 0)
      n2++;
    else
      n1++;
  }
  if (n4 == 0) {
    if (n2 == N)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  } else {
    if (n4 * 2 + n2 >= N)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  }
  return;
}
int main() {
  cin.tie(nullptr);
  ios_base::sync_with_stdio(false);
  Main();
}
