#include <bits/stdc++.h>
const int INF = 1e9;
const int MOD = 1e9 + 7;
const long long LINF = 1e18;
using namespace std;
int main() {
  int N;
  cin >> N;
  vector<int> A_four, A_odd;
  for (int i = 0; i < N; i++) {
    int a;
    cin >> a;
    if (a % 4 == 0)
      A_four.push_back(a);
    else
      A_odd.push_back(a);
  }
  if (2 * A_four.size() >= A_odd.size())
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
