Play hockey this...
Very easy
Execution time limit is 0.18 seconds
Runtime memory usage limit is 22.888 megabytes
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
In a single line located a unique natural number N, does not exceed 100.
Output
Single number - the required number of ways.
Examples
Input #1
Answer #1
Submissions 9K
Acceptance rate 30%