{"trustable":true,"sections":[{"title":"Description","value":{"format":"MD","content":"Given a positive integer $M$, find all continuous positive integer sequences (each sequence contains at least two numbers) whose sum equals $M$.\n\nExample: $1998+1999+2000+2001+2002 \u003d 10000$, so one of the sequences from $1998$ to $2002$ is a solution for $M\u003d10000$."}},{"title":"Input","value":{"format":"MD","content":"The value of $M$ ($10 \\le M \\le 2,000,000$) is given in a single line as input."}},{"title":"Output","value":{"format":"MD","content":"Output two positive integers per line, representing the first and last numbers of a continuous positive integer sequence that satisfies the condition. The first numbers of all output lines should be in ascending order. For the given input data, at least one solution is guaranteed."}},{"title":"Sample 1","value":{"format":"MD","content":"\u003ctable class\u003d\u0027vjudge_sample\u0027\u003e\n\u003cthead\u003e\n \u003ctr\u003e\n \u003cth\u003eInput\u003c/th\u003e\n \u003cth\u003eOutput\u003c/th\u003e\n \u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n \u003ctr\u003e\n \u003ctd\u003e\u003cpre\u003e10000\n\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003e18 142 \n297 328 \n388 412 \n1998 2002\n\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e"}}]}