#include <stdio.h>

int main() {
    int n, num;
    int even = 0, odd = 0;
    scanf("%d", &n);
    for(int i = 0; i < n; i++) {
        scanf("%d", &num);
        if(num % 2 == 0) even++;
        else odd++;
        if(odd > 2) {
            printf("YES\n");
            return 0;
        } else if(odd > 0 && even > 1) {
            printf("YES\n");
            return 0;
        }
    }
    printf("NO\n");
    return 0;
}