#include <bits/stdc++.h>
using namespace std;
int n;
int main() {
  cin >> n;
  int cnt4 = 0;
  int cnt2 = 0;
  for (int i = 0; i < n; ++i) {
    long long a;
    cin >> a;
    if (a % 4 == 0)
      cnt4++;
    else if (a % 2 == 0)
      cnt2++;
  }
  cnt2 /= 2;
  if (cnt4 * 3 + cnt2 * 2 >= n) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
