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