#include <bits/stdc++.h>
int main() {
  int N;
  int gusu = 0;
  int kisu = 0;
  int chukan = 0;
  long long int buf;
  scanf("%d", &N);
  for (int i = 0; i < N; ++i) {
    scanf("%lld", &buf);
    if (buf % 2 == 1) {
      kisu++;
    } else if (buf % 4 == 0) {
      gusu++;
    } else if (buf % 4 != 0) {
      chukan++;
    }
  }
  if (gusu * 2 < kisu + std::min(chukan, 1)) {
    if (chukan > 1) {
      kisu -= (chukan / 2) - 1;
      if (gusu * 2 < kisu)
        puts("No");
      else
        puts("Yes");
    } else {
      if (gusu * 2 < kisu + std::min(chukan, 1))
        puts("No");
      else
        puts("Yes");
    }
  } else
    puts("Yes");
  return 0;
}
