#include <bits/stdc++.h>
using namespace std;
int a[100001];
int main() {
  int n, c1 = 0, c2 = 0, c3 = 0;
  scanf("%d", &n);
  getchar();
  for (int i = 0; i < n; i++) {
    scanf("%d", &a[i]);
    if (a[i] % 4 == 0) c1++;
    if (a[i] % 2 == 0)
      c2++;
    else
      c3++;
  }
  c2 = c2 - c1;
  c3 = c3 + (c2 >= 1);
  c2 = c2 / 2;
  if ((c1 + c2) * 2 >= c3)
    printf("Yes\n");
  else
    printf("No\n");
}
