#include <bits/stdc++.h>
using namespace std;
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int n;
  long long a;
  int one = 0, two = 0, four = 0;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> a;
    if (a % 2 == 0)
      two++;
    else if (a % 4 == 0)
      four++;
    else
      one++;
  }
  if (one <= four)
    cout << "No" << endl;
  else
    cout << "Yes" << endl;
  return 0;
}
