n=input().lower()
if 'a'<=n<='z':
    print('YES')
else:
    print('NO')