Read a positive natural number n. Generate and print, in lexicographic order, all decompositions of n as a sum of strictly increasing positive natural numbers (all terms are distinct, and on each line they are written in ascending order).
On the last line print the total number of decompositions found.