Multiple input problems The format of multiple input files is defined by an integer N, then a blank line followed by N input blocks, which are also separated by blank lines. Each block itself requires the format indicated in the problem description.

The output format is identical to the input format, except the integer N is not required.