#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++;
  }
  c2 -= c1;
  n = n - c2 - (c2 >= 1);
  if ((c1) >= n / 2)
    printf("Yes\n");
  else
    printf("No\n");
}
