#include <bits/stdc++.h>
int a[111111];
int main(void) {
  int n, cnt = 0;
  scanf("%d", &n);
  for (int i = 0; i < n; i++) {
    int x;
    scanf("%d", &x);
    a[i] = x;
    if (x % 4 == 0) cnt++;
  }
  if (cnt >= n / 2)
    printf("Yes\n");
  else
    printf("No\n");
  return false;
}
