In this problem, your job is to calculate the probability of a certain event. This event is picking 2 distinct numbers from the set {1,2,3,....,N}

and having the first number > second number + 3

The probability can be expressed in `A/B`

where A and B are coprime

The input will consist of one line consisting of one integer `N`

(`10 <= N <= 10^9`

).

The output will consist of one single line consisting of two integers, A and B, seperated by a space

`30`

`117 290`

- Points: 7
- Time limit: 1.0s
- Memory limit: 64.0M
- Author: ApocalypseCalculator
- Category: Classics
- Type: Simple Math
- All Submissions Best Submissions

Comments

- There are no comments.