#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, ans;
  scanf("%d", &n);
  int a[n];
  int i;
  for (i = 0; i < n; i++) {
    int q;
    scanf("%d", &q);
    a[i] = q;
  }
  int x = 0, y = 0, z = 0;
  for (i = 0; i < n; i++) {
    if (a[i] % 2 == 1) {
      x = x + 1;
    } else if (a[i] % 4 == 2) {
      y = y + 1;
    } else {
      z = z + 1;
    }
  }
  if (y + 2 * z >= 2 * x) {
    printf("Yes");
  } else {
    printf("No");
  }
}
