#include <bits/stdc++.h>
int main() {
  int n, i, temp = 0, t = 1, m = 0, os = 0, js = 0, four = 0;
  int a[100005];
  scanf("%d", &n);
  for (i = 0; i < n; i++) {
    scanf("%d", &a[i]);
    if (a[i] % 4 == 0) four++;
    if (a[i] % 4 == 2) os++;
    if (a[i] % 2 == 1) js++;
  }
  if (os > 1) js = js + os - 1;
  if (os <= 1) js = js + os;
  if ((js - 1) > four) printf("No\n");
  if ((js - 1) <= four) printf("Yes\n");
  return 0;
}
