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