#include<stdio.h>
int main()
{
    char ch;
    while(scanf("%c",&ch)!=EOF)
    {
        getchar();
        if((ch>='A'&&ch<='Z')||(ch>='a'&&ch<='z'))
            printf("YES\n");
        else
            printf("NO\n");
    }
    return 0;
}