#include <bits/stdc++.h>
using namespace std;
long long a[100000];
int main() {
  int N;
  scanf("%d", &N);
  for (int i = 0; i < N; i++) {
    scanf("%lld", &a[i]);
  }
  int count0 = 0, count1 = 0, count2 = 0;
  for (int i = 0; i < N; i++) {
    if (a[i] % 4 == 0) {
      count2++;
    } else if (a[i] % 2 == 0) {
      count1++;
    } else if (a[i] % 2 == 1) {
      count0++;
    }
  }
  if (count1 > 0) {
    count2 += count1 - 1;
    count0 += 1;
  }
  if (count1 < 2) {
    if (count2 >= count0 - 1) {
      printf("Yes");
    } else {
      printf("No");
    }
  } else {
    if (count2 >= count0) {
      printf("Yes");
    } else {
      printf("No");
    }
  }
  return 0;
}
