#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, cnt = 0;
  cin >> n;
  int ara[n + 5];
  for (int i = 1; i <= n; i++) {
    cin >> n;
    if (n % 4 == 0)
      cnt += 2;
    else if (n % 2 == 0)
      cnt++;
  }
  if (n % 2 == 0) {
    cnt >= n ? puts("Yes") : puts("No");
  } else {
    cnt >= n - 1 ? puts("Yes") : puts("No");
  }
  return 0;
}
