#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, t, cnt = 0, c = 0;
  scanf("%d", &n);
  for (int i = 0; i < n; i++) {
    scanf("%d", &t);
    if (t % 4 == 0)
      cnt++;
    else if (t % 2 == 0)
      c++;
  }
  if (cnt >= ((n - c) / 2))
    printf("Yes");
  else
    printf("No");
  return 0;
}
