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