#include <bits/stdc++.h>
using namespace std;
int main(void) {
  cin.sync_with_stdio(false);
  long long int N, a, b = 0;
  cin >> N;
  for (long long int i = 0; i < N; i++) {
    cin >> a;
    if (a % 4 == 0) b++;
  }
  cout << ((N / 4 + 1) <= b ? "Yes" : "No") << endl;
  return 0;
}
