#include <bits/stdc++.h>
int main() {
  int n, x, a[4] = {0};
  scanf("%d", &n);
  while (n--) {
    scanf("%d", &x);
    a[x % 4]++;
  }
  if (a[0] >= a[1] + a[3] || a[2] + a[3] == 0)
    printf("Yes\n");
  else
    printf("No\n");
  return 0;
}
