For each test input be sure to include in your source file the expected results as a comment at the end of the code. Please see example Template file for more details.
Hint: your programming solution should take as input the datafiles and produce output in the format specified by the original problem statement.