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