int main()
{
    char a = 0;
    scanf ("%c",&a);
    if((a >= 'A' && a <= 'Z')||(a >= 'a' && a <= 'z'))
    {
        printf ("YES");
    }
    else 
    {
        printf ("NO");
    }
    return 0;
}