#include <bits/stdc++.h>
using ll = long long;
using namespace std;
int main() {
  int n, a;
  cin >> n;
  int sum_odd = 0, sum4 = 0;
  for (int64_t i = 0; i < (int64_t)(n); i++) {
    cin >> a;
    if (a % 2 == 1) sum_odd++;
    if (a % 4 == 0) sum4++;
  }
  cout << (sum_odd > sum4 + 1 ? "No" : "Yes") << endl;
}
