#include <bits/stdc++.h>
int main() {
  long long int N1, N2, i, a[100000], cnt2 = 0, cnt4 = 0, ans = 0, other = 0;
  char y[] = "Yes", n[] = "No";
  scanf("%lld", &N1);
  for (i = 0; i < N1; i++) {
    scanf("%lld", &a[i]);
  }
  N2 = N1;
  for (i = 0; i < N1; i++) {
    if (a[i] % 4 == 0) {
      cnt4++;
    } else if (a[i] % 2 == 0) {
      cnt2++;
    } else
      other++;
  }
  ans = cnt4 * 2;
  if (cnt2 != 0) other++;
  if (cnt4 + 1 == other) {
    printf("%s\n", y);
  } else {
    printf("%s\n", n);
  }
  return 0;
}
