#C4131. Fraction Sequence Generator

    ID: 47636 Type: Default 1000ms 256MiB

Fraction Sequence Generator

Fraction Sequence Generator

Given an integer \(n\), generate a comma-separated sequence of fractions from \(\frac{1}{1}\) to \(\frac{1}{n}\). If \(n \le 0\), output an empty string. The fractions should be formatted as "1/1, 1/2, ..., 1/n".

inputFormat

The input consists of a single integer \(n\) provided via standard input.

outputFormat

Output the generated sequence of fractions in one line to standard output. If \(n \le 0\), output an empty string.

## sample
3
1/1, 1/2, 1/3