#Christo Dragnev
#2/2/18
#lastname.py

name = input('Enter your lastname: ')


if name<'M':
    print(name, "is in the first half of the alphabet")
else:
    print(name, "is in the second half of the alphabet")
