#include <bits/stdc++.h>
int data[12345678];
int main() {
  int N;
  int gusu = 0;
  int kisu = 0;
  int buf;
  scanf("%d", &N);
  for (int i = 0; i < N; ++i) {
    scanf("%d", &buf);
    if (buf % 2 == 1) {
      data[i] = -1;
      kisu++;
    } else if (buf % 4 == 0) {
      data[i] = 2;
      gusu++;
    } else
      data[i] == 1;
  }
  if (gusu * 2 < kisu)
    puts("No");
  else
    puts("Yes");
  return 0;
}
