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