11613

Problem ID: 11613

The sample output on UVa Online Judge is wrong. The correct one is what appears here. Also, the sample input has been uploaded as critical input.