#include <bits/stdc++.h>
using namespace std;
signed main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  int n;
  cin >> n;
  vector<long long> a(n);
  for (int i = 0; i < (n); ++i) cin >> a[i];
  int odd = 0, div2 = 0, div4 = 0;
  for (int i = 0; i < (n); ++i) {
    if (a[i] % 4 != 0 && a[i] % 2 == 0) div2++;
    if (a[i] % 4 == 0) div4++;
    if (a[i] & 1) odd++;
  }
  if (odd == 0) {
    cout << "Yes" << '\n';
    return 0;
  }
  cout << (div4 + 1 >= odd + div2 ? "Yes" : "No") << '\n';
  return 0;
}
