#include <stdio.h>
int main()
{
    char ch;
    ch=getchar();
    printf(((ch>='a'&&ch<='z')||(ch>='A'&&ch<='Z'))?"YES":"NO"); 
    return 0;
}