import Data.List;main=interact$unlines.sort.tail.lines