Fractions Again?!#1027

Fractions Again?!

3 seconds
64 megabytes
Very easy

It is easy to see that for every fraction in the form k > 0, we can always find two positive integers and , x \geq y, such that:

Now our question is: can you write a program that counts how many such pairs of and there are for any given ?

Input

The input contains no more than lines, each giving a value of (0 < k \leq 10000).

Output

For each , output the number of corresponding (x,\,y) pairs, followed by a sorted list of the values of and , as shown in the sample output.

Examples

Example 1

Loading
Loading