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