12666

Problem ID: 12666

The last case on the sample input on UVa Online Judge is wrong. So this has been omitted and the rest of the sample input has been uploaded on uDebug.
Delete Input