#include <bits/stdc++.h>
using namespace std;
inline int gi() {
  char cj = getchar();
  int ans = 0, f = 1;
  while (cj < '0' || cj > '9') {
    if (cj == '-') f = -1;
    cj = getchar();
  }
  while (cj >= '0' && cj <= '9') ans = ans * 10 + cj - '0', cj = getchar();
  return f * ans;
}
int n, a, s4, s2;
int main() {
  n = gi();
  for (int i = 1; i <= n; ++i) {
    a = gi();
    if (a % 4 == 0)
      s4++;
    else if (a % 2 == 0)
      s2++;
  }
  n -= (s2 / 2 + s4 + s4 + 1);
  if (n <= 0)
    puts("Yes");
  else
    puts("No");
  return 0;
}
