while True:
try:
a=str(input())
b=ord(a)
if b>=65 and b<=90:
print('YES')
elif b>=97 and b<=122:
print('YES')
else:
print('NO')
except:
break;