#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  std::vector<long long int> v(n);
  for (int i = 1; i <= n; i++) {
    cin >> v[i];
  }
  int x = n / 2, c = 0, a = 0;
  for (int i = 1; i <= n; i++) {
    if (v[i] % 4 == 0)
      a++;
    else if (v[i] == 2)
      c++;
  }
  a += c / 2;
  if (a >= x)
    cout << "Yes";
  else
    cout << "No";
}
