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