#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int N, a[10000], f = 0, t = 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++;
    else if (a[i] % 2 == 0)
      t++;
    else
      n++;
  }
  if (f - n >= -1)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
