Given n bricks, you would like to build a staircase by stacking those bricks on top of each other in neighboring columns. As it’s a staircase, you cannot have two columns of the same length. The right columns should always be higher than the ones on the left. Having those n bricks, you’d like to know how many different ways are there to construct a valid staircase.
The input contains a single integer n (5 ≤ n ≤ 500).
The program should print the number of different staircases possible to obtain from those bricks.