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