#include <bits/stdc++.h>
using namespace std;
int n, t, f, z;
int main() {
  t = 0;
  f = 0;
  z = 0;
  scanf("%d", &n);
  for (int i = 0; i < n; i++) {
    int a;
    scanf("%d", &a);
    if (a % 4 == 0)
      f++;
    else if (a % 2 == 0)
      t++;
    else
      z++;
  }
  int tmp = f - z;
  if (tmp >= 0)
    printf("Yes\n");
  else if (tmp == -1 && n == 3)
    printf("Yes\n");
  else
    printf("No\n");
  return 0;
}
