#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  long long n;
  cin >> n;
  long long arr[n];
  long long x = 0;
  for (long long i = 0; i < n; i++) {
    cin >> arr[i];
    if (arr[i] % 4 == 0) x++;
  }
  long long k;
  if (n % 3 == 0)
    k = n / 3;
  else
    k = n / 3 + 1;
  if (x >= k)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
