Output all the ways in which a given positive integer
Input Specification
The first line of input contains the positive integer
Output Specification
For each sum of consecutive positive integers that is equal to
Sample Input 1
Copy
10
Sample Output 1
Copy
1 4
Explanation of Sample Output 1
Sample Input 2
Copy
27
Sample Output 2
Copy
13 14
8 10
2 7
Comments