Two positive integers undergo the following four operations:
They are added.
The smaller number is subtracted from the larger.
They are multiplied.
The larger number is divided by the smaller.
The results of these operations are summed to obtain the number . Find all pairs of such numbers.
One positive integer (1 \leq n \leq 10^{12}).
Print each pair of integers , x \leq y, that satisfy the condition, on a separate line. The pairs must be sorted in increasing order of . If there are no pairs satisfying the condition, print "NO SOLUTION".
Example 1
Example 2
Example 3