#include <bits/stdc++.h>
int main(void) {
  int i, n, x4 = 0, x2 = 0, etc;
  int a[100];
  scanf("%d", &n);
  for (i = 0; i < n; i++) {
    scanf("%d", &a[i]);
    if (a[i] % 4 == 0)
      x4++;
    else if (a[i] % 2 == 0)
      x2++;
  }
  n = n - (x2 / 2) * 2;
  etc = n - x4;
  if (etc <= x4 + 1) {
    puts("Yes\n");
  } else {
    puts("No\n");
  }
  return 0;
}
