#include<stdio.h>
int main() {
    char ch;
    scanf("%c", &ch);
    if (ch >= 65 && ch <= 90 || ch >= 97 && ch <= 122) //A~Z和a~z
        printf("YES");

    else
        printf("NO");
}