#include <bits/stdc++.h>
using namespace std;
signed main() {
  long long N;
  cin >> N;
  long long c2 = 0, c4 = 0;
  for (long long i = 0; i < N; i++) {
    long long a;
    cin >> a;
    if (a % 4 == 0)
      c4++;
    else if (a % 2 == 0)
      c2++;
  }
  long long c1 = N - c2 - c4;
  if (c1 <= c4)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
