#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  long long a[100010];
  while (scanf("%d", &n) != EOF) {
    int sum1 = 0, sum2 = 0;
    for (int i = 1; i <= n; i++) {
      scanf("%lld", &a[i]);
      if (a[i] % 4 == 0) {
        sum1++;
      }
      if (a[i] == 2) {
        sum2++;
      }
    }
    if (sum2 > 1) {
      n = n - sum2 + 1;
    }
    n = n - sum1 - 1;
    if (sum1 >= n) {
      printf("Yes\n");
    } else {
      printf("No\n");
    }
  }
  return 0;
}
