3249

Problem ID: 3249

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