#include <stdio.h> int main() { char ch; while((ch=getchar())!=EOF) { getchar(); if(ch>='A'&&ch<='z') printf("YES"); else printf("NO"); } return 0; }