#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++;
    else
      etc++;
  }
  if (x2 == 0) {
    if (x4 + 1 >= etc)
      puts("Yes");
    else
      puts("No");
  } else {
    if (x4 + 1 >= (etc + x2 % 2))
      puts("Yes");
    else
      puts("No");
  }
  return 0;
}
