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