#include <bits/stdc++.h>
using namespace std;
int a[100001];
int main() {
  int n, t_2 = 0, t_4 = 0;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    if (a[i] % 4 == 0) {
      t_4++;
      continue;
    }
    if (a[i] % 2 == 0) t_2++;
  }
  int ne = n, ne_2;
  ne -= t_4;
  ne_2 = t_2 / 2;
  ne -= ne_2;
  int nx = n;
  nx -= t_4;
  nx -= t_2;
  if (nx <= t_4 && (t_2 != 1)) {
    cout << "Yes" << endl;
    return 0;
  }
  if (ne <= t_4 * 2)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
