#include <bits/stdc++.h>
int main() {
  int i, j, k;
  int N;
  scanf("%d", &N);
  int A[N];
  for (i = 0; i < N; i++) scanf("%d ", &A[i]);
  int kisuu = 0, two = 0, four = 0;
  for (i = 0; i < N; i++) {
    if (A[i] % 4 == 0)
      four++;
    else if (A[i] % 4 != 0 && A[i] % 2 == 0)
      two++;
    else
      kisuu++;
  }
  if (kisuu > four) {
    puts("No");
    return 0;
  }
  four -= kisuu;
  if (two % 2 == 1 && four == 0) {
    puts("No");
    return 0;
  }
  puts("Yes");
  return 0;
}
