Tổ Hợp

View as PDF

Points: 10 (p) Time limit: 1.0s Memory limit: 256M Input: stdin Output: stdout

Nhập số nguyên dương \(N\). Hãy tính \(C_{N}^3\) = \(\frac{N * (N - 1) * (N - 2)}{6}\).

Input

  • Nhập 1 số nguyên dương \(N\) (\(1 \leq N \leq 1000\)).

Output

  • In ra đáp án theo yêu cầu đề bài.

Example

Test 1
Input
6   
Output
20

Comments

There are no comments at the moment.