#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, ev = 0;
  cin >> n;
  int a[n + 3];
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    if (a[i] % 2 == 0) ev++;
  }
  if (ev > n - ev)
    cout << "yes" << endl;
  else
    cout << "no" << endl;
  return 0;
}
