#include <bits/stdc++.h>
using namespace std;
int f, t, n;
int main() {
  scanf("%d", &n);
  for (int i = 1, tmp; i <= n; i++) {
    scanf("%d", &tmp);
    if (tmp % 4 == 0)
      f++;
    else if (tmp % 2 == 0)
      t++;
  }
  if (t == n) {
    printf("Yes");
    return 0;
  }
  int num = f * 3 + t - 1;
  printf("%s", num >= n ? "Yes" : "No");
}
