#include <bits/stdc++.h>
using namespace std;
int a[100001], b[100001];
int main() {
  int n, sum1 = 0, sum2 = 0;
  scanf("%d", &n);
  for (int i = 0; i < n; i++) {
    scanf("%d", &a[i]);
    if (a[i] % 4 == 0) {
      b[i] = 2;
      sum1++;
    } else if (a[i] % 2 == 0) {
      b[i] = 1;
      sum2++;
    } else
      b[i] = 0;
  }
  int sum3 = n - sum1 - sum2;
  if (sum1 >= sum3)
    printf("Yes\n");
  else
    printf("No\n");
  return 0;
}
