#include <bits/stdc++.h>
using namespace std;
int main() {
  int N, a, b = 0, c = 0;
  scanf("%d", &N);
  for (int i = 0; i < N; i++) {
    scanf("%d", &a);
    if (a == 0 || a == 2 || (a >= 4 && a % 4 == 0))
      b++;
    else
      c++;
  }
  if ((N < 4 && b > 0) || (b > c))
    puts("Yes");
  else
    puts("No");
}
