#include <bits/stdc++.h>
using namespace std;
int main() {
  long long N;
  cin >> N;
  vector<long long> A(N);
  for (long long i = 0; i < N; i++) {
    cin >> A[i];
  }
  long long Count_4 = 0, Count_2 = 0;
  for (long long i = 0; i < N; i++) {
    if (A[i] % 4 == 0)
      Count_4++;
    else if (A[i] % 2 == 0)
      Count_2++;
  }
  if (Count_2 - 1 + Count_4 * 2 >= N - 1)
    cout << "Yes";
  else
    cout << "No";
}
