#include <bits/stdc++.h>
using namespace std;
long long a[50000 + 10];
int main() {
  long long n, t;
  while (cin >> n) {
    t = 0;
    for (int i = 0; i < n; i++) {
      cin >> a[i];
      if (a[i] % 4 == 0) t++;
    }
    if (n == 2) {
      if (t >= 1)
        printf("Yes\n");
      else
        printf("No\n");
      continue;
    }
    if (t > n % 3)
      printf("Yes\n");
    else
      printf("No\n");
  }
  return 0;
}
