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