Consider the set of all reduced proper fractions between and inclusive with denominators less than or equal to .
Here is the set when N = 5:
Write a program that, given an integer (1 \leq N \leq 160), prints each of these fractions in increasing order, one per line.
One line containing a single integer .
Print all required fractions, one per line, sorted in increasing order as shown in the example output.
Example 1