updated the example input/output in the actual program.