#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  cin >> N;
  vector<int> a(N);
  for (int i = 0; i < N; i++) cin >> a.at(i);
  int count4 = 0;
  int count2 = 0;
  for (int i = 0; i < N; i++) {
    int a_i = a.at(i);
    if (a_i % 4 == 0)
      count4++;
    else if (a_i % 2 == 0)
      count2++;
  }
  N -= count4 * 2;
  N -= count2;
  if (N > 0)
    cout << "No";
  else
    cout << "Yes";
}
