#include <bits/stdc++.h>
using namespace std;
void solve() {
  int N;
  cin >> N;
  vector<int> a(N + 1);
  for (int i = 1; i <= (N); i++) cin >> a[i];
  int c = 0, c2 = 0, c4 = 0;
  for (int i = 1; i <= (N); i++) {
    if (a[i] % 4 == 0)
      c4++;
    else
      c++;
  }
  if (c == c4 || c == c4 - 1)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
int main() {
  cin.tie(nullptr);
  ios_base::sync_with_stdio(false);
  cout << fixed << setprecision(15);
  solve();
  return 0;
}
