#include <stdio.h>

int main() {
    char ch;
    scanf("%c",&ch);
    if((ch>=65&&ch<=91)||(ch>97)&&(ch<123)){
        printf("YES");
    } else{
        printf("NO");
    }
    return 0;
}