#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n;
  scanf("%lld", &n);
  long long inp[n];
  for (int i = 0; i < n; i++) scanf("%lld", &inp[i]);
  long long cnt[3] = {0};
  for (int i = 0; i < n; i++) {
    if (inp[i] % 4 == 0) cnt[2]++;
    if (inp[i] % 2 == 0) cnt[1]++;
  }
  n -= cnt[2] * 3;
  if (n <= 0) {
    printf("Yes\n");
    return 0;
  } else {
    cnt[1] -= cnt[2];
    if (n == 1 && cnt[1] >= 2) {
      printf("Yes\n");
      return 0;
    } else {
      if (n > 1 && cnt[1] >= n) {
        printf("Yes\n");
        return 0;
      }
    }
  }
  printf("No\n");
  return 0;
}
