#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  scanf("%d", &n);
  int S4 = 0, S2 = 0, S1 = 0;
  for (int i = 0; i < n; i++) {
    int a;
    scanf("%d", &a);
    if (a % 4 == 0)
      S4++;
    else if (a % 2 == 0)
      S2++;
    else
      S1++;
  }
  S1 -= S2;
  if (S2 % 2 == 1) S1 += 2;
  if (S1 - 1 <= S4) {
    puts("Yes");
  } else
    puts("No");
  return 0;
}
