#include <bits/stdc++.h>
using namespace std;
int main() {
  long int n;
  scanf("%ld", &n);
  long int a[n], i, cnt = 0;
  for (i = 0; i < n; ++i) {
    scanf("%ld", &a[i]);
    if (a[i] % 4 == 0) cnt++;
  }
  if (cnt >= n / 2)
    printf("Yes");
  else
    printf("No");
}
