#include <bits/stdc++.h>
using namespace std;
int a[100005];
int main() {
  int i, j;
  int n, b1, b2;
  cin >> n;
  b1 = 0;
  b2 = 0;
  for (i = 0; i < n; i++) {
    cin >> a[i];
    a[i] % 4 ? a[i] % 2 ?: ++b1 : ++b2;
  }
  j = n - b1 - b2;
  if (b2 + 1 >= (j + b1 % 2 + b1 / 2))
    cout << "Yes";
  else
    cout << "No";
  return 0;
}
