#include <bits/stdc++.h>
using namespace std;
int main() {
  long long N;
  cin >> N;
  vector<long long> a(N, 0);
  long long cnt_E = 0, cnt_O = 0;
  for (int i = 0; i < N; i++) {
    cin >> a[i];
    if (a[i] % 2 == 0) {
      cnt_E++;
    } else {
      cnt_O++;
    }
  }
  if (cnt_E == cnt_O) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
