#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  int TwoCount = 0;
  int FourCount = 0;
  int AnyCount = 0;
  cin >> N;
  int a;
  for (int i = 0; i < N; i++) {
    cin >> a;
    if (a % 4 == 0)
      FourCount++;
    else if (a % 2 == 0)
      TwoCount++;
    else
      AnyCount++;
  }
  if (TwoCount == 1) AnyCount++;
  if ((FourCount >= AnyCount - 1) && FourCount > 0) {
    cout << "Yes" << endl;
  } else
    cout << "No" << endl;
  return 0;
}
