#include <bits/stdc++.h>
using namespace std;
const int oo = 0x3f3f3f3f;
int main(void) {
  int n;
  cin >> n;
  int a[n];
  int none = 0, four = 0;
  for (int i = 0; i < n; i++) cin >> a[i];
  for (int i = 0; i < n; i++) none = (a[i] % 2 != 0) ? none + 1 : none;
  for (int i = 0; i < n; i++) four = (a[i] % 4 == 0) ? four + 1 : four;
  if (none > four)
    cout << "No" << endl;
  else
    cout << "Yes" << endl;
  return 0;
}
