#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, cnt = 0, ccnt = 0;
  cin >> n;
  bool ok = false;
  int num[n];
  for (int i = 0; i < n; i++) {
    cin >> num[i];
    if (num[i] % 2 == 0 and num[i] % 4 != 0) ccnt++;
    if (num[i] % 4 == 0) cnt++;
  }
  int x;
  x = cnt + ccnt;
  cnt += ccnt / 2;
  if (cnt + 1 >= (n - cnt - ccnt)) ok = true;
  if (ok)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
