#include <bits/stdc++.h>
using namespace std;
void solve() {
  int n;
  cin >> n;
  int divs = 0, twos = 0, ones = 0;
  for (auto i = 0; i < n; i++) {
    int x;
    cin >> x;
    if (x % 2 == 0)
      twos++;
    else
      ones++;
    if (x % 4 == 0) divs++;
  }
  int remdivs = (twos - divs) / 2;
  int total = remdivs + divs;
  if (total + 1 >= ones && n % 2)
    cout << "Yes";
  else
    cout << "No";
}
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  solve();
  cerr << "\n\n~" << 500 * clock() / CLOCKS_PER_SEC << "ms\n";
  return 0;
}
