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