#include <bits/stdc++.h>
using namespace std;

int main()
{
    int n; cin >> n;
    vector<int> a(n);
    int odd = 0;
    for (int i = 0; i < n; ++i)
    {
        cin >> a[i];
        if(a[i] % 2 == 1) odd++;
    }

    // 分n=3(比较特殊)和其他
    if (n == 3)
    {
        if(odd == 0 || odd == 2)
        {
            cout << "NO";
        }
        else
        {
            cout << "YES";
        }
    }
    else {
        // n>=4时,只需要出现一个奇数,必定yes
        if (odd) cout << "YES";
        else {cout << "NO";}
    }
    return 0;
}