#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, a, i, b, c, d;
  while (~scanf("%d", &n)) {
    b = 0;
    c = 0;
    for (i = 0; i < n; i++) {
      scanf("%d", &a);
      if (a % 2 == 0) {
        if (a % 4 == 0)
          b++;
        else
          c++;
      }
    }
    d = b * 2 + 1 + c / 2;
    if (d >= n)
      printf("Yes\n");
    else
      printf("No\n");
  }
  return 0;
}
