#include <bits/stdc++.h>
using namespace std;
int n, a[100005];
int main() {
  int shu = 0, shu1 = 0;
  cin >> n;
  for (int i = 0; i < n; i++) {
    scanf("%d", &a[i]);
    if (a[i] % 4 == 0) shu++;
    if (a[i] % 2 == 0 && a[i] % 4 != 0) shu1++;
  }
  if (shu >= n / 2)
    cout << "Yes" << endl;
  else if (n = shu * 2 - shu1 <= 0)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
