#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int n, num = 0;
  int a[10010];
  scanf("%d", &n);
  for (int i = 0; i < n; i++) {
    scanf("%d", &a[i]);
    if (a[i] % 4 == 0)
      ;
    num++;
  }
  int x = n % 3;
  int b = n / 3;
  if (((b == num) && (x == 0)) || (num > b))
    printf("Yes");
  else
    printf("No");
  return 0;
}
