#include <bits/stdc++.h>
using namespace std;
int main() {
  int N, b1 = 0, b2 = 0, b4 = 0;
  long long int a[100000];
  cin >> N;
  for (int n = 0; n < N; n++) scanf("%d", &a[n]);
  for (int n = 0; n < N; n++) {
    if (a[n] % 2 == 0) {
      if (a[n] / 2 % 2 == 0) {
        b4++;
        continue;
      }
      b2++;
      continue;
    }
    b1++;
  }
  if (b1 <= b4)
    cout << "Yes";
  else
    cout << "No";
  return 0;
}
