#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, g = 0, k = 0, t = 0;
  cin >> n;
  long long a[n];
  for (int i = 0; i < n; i++) a[i] = 0;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    if (a[i] % 4 == 0)
      g++;
    else {
      k++;
      if (a[i] % 2 == 0) t++;
    }
  }
  if (g == k - 1 || g == k + 1 || g == k)
    cout << "Yes" << endl;
  else if (t % 2 == 0 && t != 0)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
