#include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[]) {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  long long n;
  cin >> n;
  long long ara[100010];
  for (int i = 1; i <= n; i++) {
    cin >> ara[i];
    ara[i] %= 4;
  }
  int cnt = 0, odd = 0;
  for (int i = 1; i <= n; i++) {
    if (ara[i] == 0)
      cnt++;
    else
      odd++;
  }
  if (odd == 0) {
    cout << "Yes" << endl;
    return 0;
  }
  if (odd - 1 > cnt)
    cout << "No" << endl;
  else
    cout << "Yes" << endl;
  return 0;
}
