int main(){
    char c = 0;
    c = getchar();
    if((c>=65 && c<=90)||(c>=97 && c<=122))
        printf("YES\n");
    else
        printf("NO\n");
    return 0;
}