#include <bits/stdc++.h>
using namespace std;
int main() {
  long long a[100005];
  int i, n, m, k;
  double b;
  while (scanf("%d", &n) != EOF) {
    for (i = 0, m = 0, k = 0; i < n; i++) {
      scanf("%lld", &a[i]);
      if (a[i] % 4 == 0) m++;
      if (a[i] == 2) k++;
    }
    m += k / 2;
    if (n % 2 == 0) {
      if (m >= (n - k / 2) / 2)
        printf("Yes\n");
      else
        printf("No\n");
    } else {
      if (m >= (n - k / 2) / 2)
        printf("Yes\n");
      else
        printf("No\n");
    }
  }
  return 0;
}
