#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int total = 0;
  int n4 = 0, n2 = 0, n1 = 0;
  for (int i = 0; i < n; i++) {
    long long temp;
    cin >> temp;
    if (temp % 4 == 0) n4++;
    continue;
    if (temp % 2 == 0) n2++;
    continue;
    n1++;
  }
  if (n2 == 0) {
    if (n1 <= n4 + 1)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  } else {
    if (n1 <= n4)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  }
}
