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