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