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