#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  long long int a[n], b[2] = {};
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    if (a[i] % 2 == 1) b[0]++;
    if (a[i] % 4 == 0) b[1]++;
  }
  bool ad = false;
  if (b[0] == 0)
    ad = true;
  else if (b[0] <= b[1])
    ad = true;
  if (ad)
    cout << "Yes";
  else
    cout << "No";
}
