# Author:  James Tam
# Version: July 2, 2014

str1 = input("Enter a series of lower case alphabetic characters: ")
for temp in str1:
    if ((temp < 'a') or (temp > 'z')):
        break
    print(temp)
print("Done")
