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