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