3238

Problem ID: 3238

Since the sample output on ACM-ICPC is wrong, the sample input has been uploaded on uDebug. The output on uDebug is correct.
Delete Input