while True:
    try:
        c = input()
        print('YES' if str.isalpha(c) else 'NO')
    except EOFError:
        break