#include <bits/stdc++.h>
using namespace std;
int n, f;
int b[100001];
int main() {
  scanf("%d", &n);
  int k = 0;
  int c = 0;
  for (int i = 1; i <= n; i++) {
    scanf("%d", &b[i]);
    if (b[i] % 4 == 0) k++;
    if (b[i] % 2 == 0) c++;
  }
  int w = c - k;
  if (w % 2 == 0) {
    n = n - w / 2;
  } else if (w % 2 == 1) {
    n = n - w / 2 + 1;
  }
  if (((w / 2) * 3 + k * 3) >= n)
    printf("Yes");
  else
    printf("No");
}
