Write a program that reads a series of lines and prints the lines in alphabetical order. You may assume that there are at most 1000 lines. You may assume that each line has at most 1000 characters. You may assume that the last line of input ends with a newline.