#include <bits/stdc++.h>
using namespace std;
const long long MOD = 1e9 + 7;
long long N;
long long A, B;
int main() {
  cin >> N;
  A = 0;
  B = 0;
  for (long long n = 0; n < N; n++) {
    long long a;
    cin >> a;
    if (a % 4 == 0)
      A++;
    else if (a % 2 == 0)
      B++;
  }
  if (2 * A + B >= N)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
