Added sample input and output.