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