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