#include <bits/stdc++.h>
using namespace std;
int A[110000];
int cnt1 = 0;
int cnt2 = 0;
int main() {
  int n;
  scanf("%d", &n);
  for (int i = 0; i < n; i++) scanf("%d", &A[i]);
  for (int i = 0; i < n; i++) {
    if (A[i] % 4 == 0) {
      cnt1++;
    }
    if (A[i] % 2 == 1) cnt2++;
  }
  if (cnt2 <= cnt1) {
    printf("No\n");
  } else {
    printf("Yes\n");
  }
  return 0;
}
