#include <bits/stdc++.h>
using namespace std;
void gen_sosuu(int sosuu[]) {
  for (int i = 0; i < (int)(100010); i++) {
    sosuu[i] = true;
  }
  sosuu[0] = false;
  sosuu[1] = false;
  sosuu[2] = true;
  for (int i = (2); i < (int)(sqrt(100000) + 1); i++) {
    if (sosuu[i] == false) continue;
    for (int j = 2; i * j <= 100000; j++) {
      sosuu[i * j] = false;
    }
  }
}
int n;
int o_cnt = 0;
int f_cnt = 0;
int a;
int main() {
  scanf("%d", &n);
  for (int i = 0; i < (int)(n); i++) {
    scanf("%d", &a);
    if (a % 2 == 1) o_cnt++;
    if (a % 4 == 0) f_cnt++;
  }
  if (o_cnt > f_cnt + 1 || (n > 3 && o_cnt > f_cnt)) {
    printf("No\n");
  } else {
    printf("Yes\n");
  }
}
