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