#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, x;
  cin >> n;
  int zero_cnt = 0, other_cnt = 0;
  for (int i = 0; i < n; i++) {
    cin >> x;
    if (x % 4 == 0)
      zero_cnt++;
    else if ((x % 4) % 2 == 1)
      other_cnt++;
  }
  if (zero_cnt >= other_cnt)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
