#include <bits/stdc++.h>
int main() {
  int n, a[1000], x = 0, y = 0;
  scanf("%d", &n);
  for (int i = 0; i < n; i++) {
    scanf("%d", &a[i]);
    if (a[i] % 4 == 0) x++;
    if (a[i] % 2 == 0) y++;
  }
  y = y - x;
  (x + y / 2 + 1 > n / 2) ? printf("Yes\n") : printf("No\n");
  return 0;
}
