5281

Problem ID: 5281

Since the sample input on ACM-ICPC Live Archive is not copiable without losing its formatting, this has been uploaded on uDebug.