#include <bits/stdc++.h>
using namespace std;
int a[100100];
int main() {
  int n;
  while (~scanf("%d", &n)) {
    int i, p = 0;
    for (i = 0; i < n; i++) scanf("%d", &a[i]);
    for (i = 0; i < n; i++) {
      if (a[i] % 4 != 0) p++;
    }
    n = n - p;
    if (n >= p - 1)
      printf("Yes\n");
    else
      printf("No\n");
  }
}
