#include <bits/stdc++.h>
using namespace std;
int a[100100];
int main() {
  int n, i, j, minn = 100100, x = 0;
  scanf("%d", &n);
  for (i = 0; i < n; i++) scanf("%d", &a[i]);
  for (i = 0; i < n; i++) {
    for (j = 0; j < n; j++)
      if (a[i] % 4 != 0) {
        if (i == j) continue;
        if (a[i] * a[j] % 4 != 0) x++;
      }
    minn = min(minn, x);
  }
  if (n / minn > 2)
    printf("Yes\n");
  else
    printf("No\n");
}
