#include <stdio.h>

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