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