#include <bits/stdc++.h>
using namespace std;
long long n, A[102], a, b, c;
int main() {
  cin >> n;
  for (long long i = (long long)0; i < (long long)n; i++) {
    cin >> A[i];
    if (A[i] % 4 == 0) {
      a++;
    } else if (A[i] % 2 == 0) {
      b++;
    } else {
      c++;
    }
  }
  if (n % 2 == 0) {
    if (a >= c) {
      printf("Yes\n");
    } else {
      printf("No\n");
    }
  } else {
    if (a + 1 >= c) {
      printf("Yes\n");
    } else {
      printf("No\n");
    }
  }
  return 0;
}
