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