#include <bits/stdc++.h>
using namespace std;
using ll = long long;
const ll INF = (ll)1e18 + 1;
const ll DIV = 1000000007;
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  long N;
  cin >> N;
  vector<ll> a(N);
  bool times = true;
  ll times4 = 0;
  ll times2 = 0;
  ll other = 0;
  for (size_t i = 0; i < N; i++) {
    cin >> a[i];
    if (a[i] % 4 == 0)
      times4++;
    else if (a[i] % 2 == 0)
      times2++;
    else
      other++;
  }
  if (other > 0) {
    if (other + times2 % 2 <= times4 * 2)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  } else {
    if (times2 % 2 == 0)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  }
  return 0;
}
