#include <bits/stdc++.h>
using namespace std;
int main() {
  cin.tie(nullptr);
  ios::sync_with_stdio(false);
  int n;
  cin >> n;
  int count = 0;
  for (int i = 0; i < n; ++i) {
    int a;
    cin >> a;
    if (a % 4 == 0) ++count;
  }
  cout << (count >= n / 2 ? "Yes" : "No") << endl;
  return 0;
}
