#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int N, a[100000], f = 0, n = 0;
  cin >> N;
  for (int i = 0; i < N; i++) cin >> a[i];
  for (int i = 0; i < N; i++) {
    if (a[i] % 4 == 0) f++;
    if (a[i] % 2 != 0 && a[i] % 4 != 0) n++;
  }
  if (f - n >= 0) cout << "Yes" << endl;
  if (f - n == -1) {
    if (n == 0)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  } else
    cout << "No" << endl;
  return 0;
}
