#include <bits/stdc++.h>
using namespace std;
__attribute__((constructor)) void initial() {
  cin.tie(0);
  ios::sync_with_stdio(false);
}
signed main() {
  int n, s = 0, t = 0;
  cin >> n;
  for (int i = (0); i < (n); i++) {
    int a;
    cin >> a;
    if (a % 4 == 0)
      s++;
    else if (a % 2 == 0)
      t++;
  }
  if (t > 1) n -= t;
  n -= s;
  if (n <= s + 1)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
