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