#include <bits/stdc++.h>
using namespace std;
using P = pair<int, int>;
const int MOD = 1000000007;
int main() {
  int n, count = 0, two = 0;
  cin >> n;
  long long temp;
  string ans = "No";
  for (int i = 0; i < (n); ++i) {
    cin >> temp;
    if (temp % 4 == 0)
      count++;
    else if (temp == 2)
      two++;
  }
  if (count >= n / 2 || two == n)
    ans = "Yes";
  else if (two >= 2) {
    if ((n - two) % 2 == 0) {
      if (count >= (n - two) / 2) ans = "Yes";
    } else {
      if (count >= (n - two) / 2 + 1) ans = "Yes";
    }
  }
  cout << ans << endl;
}
