#include <bits/stdc++.h>
using namespace std;
const int maxn = 100010;
bool judge(int jnum, int onum, int fnum, int n) {
  if (onum == n) return true;
  if ((n == 3 || n == 2) && fnum >= 1) return true;
  if (jnum <= 2 && onum >= 0 && fnum >= 2) return true;
  return false;
}
int main() {
  int n;
  int a[maxn];
  int jnum = 0, onum = 0, fnum = 0;
  memset(a, 0, sizeof(a));
  scanf("%d", &n);
  for (int i = 0; i < n; i++) {
    scanf("%d", &a[i]);
    if (a[i] % 2 == 1)
      jnum++;
    else if (a[i] % 2 == 0 && a[i] % 4 != 0) {
      onum++;
    } else if (a[i] % 2 == 0 && a[i] % 4 == 0) {
      fnum++;
    }
  }
  if (judge(jnum, onum, fnum, n))
    printf("Yes");
  else
    printf("No");
  system("pause");
  return 0;
}
