The official statement of a problem is always the one in the PDF document. The HTML version of the statement is also given to help you, but may contain some content that is not well displayed. In case of doubt, always use the PDF.
Input
1345 6721 2924 2620 15 2 220 284 220 284
Output
(2924 2620),(220 284),(220 284)
8 8 1184 1210 6666 9999 6 6
(1184 1210)