#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int n;
  cin >> n;
  vector<int> a(n);
  for (int i = 0; i < n; i++) cin >> a[i];
  int cnt = 0, two = 0;
  for (auto x : a) {
    if (x % 4 == 0)
      cnt++;
    else if (x % 2 == 0)
      two++;
  }
  if (two > 1) n -= two;
  if ((cnt >= (n / 2)) || (n == 1 && cnt == 1)) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
