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