Problems
Play hockey this...
Play hockey this...

Forest residents have decided to hold a hockey tournament between the N teams. How many ways can be distributed sets of gold, silver and bronze medals, if one prize may take only one team?
Input data
In a single line located a unique natural number N, does not exceed 100.
Output data
Single number - the required number of ways.
Examples
Input example #1
17
Output example #1
4080