5290

Problem ID: 5290

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