#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
  int N;
  cin >> N;
  int A;
  map<int, int> mp;
  for (int i = 0; i < N; i++) {
    cin >> A;
    if (N % 4 == 0)
      mp[4]++;
    else if (N % 2 == 0)
      mp[2]++;
  }
  if ((N - mp[2]) / 2 <= mp[4])
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
