3235

Problem ID: 3235

Since the sample input on ACM-ICPC is wrong, this has been uploaded on uDebug.

Delete Input