#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, c = 0;
  cin >> n;
  for (int i = 1; i <= n; i++) {
    int x;
    cin >> x;
    if (x % 4 == 0) c++;
  }
  int u = (n + 2) / 3;
  if (u <= c)
    cout << "Yes";
  else
    cout << "No";
  return 0;
}
