eolymp
bolt
Try our new interface for solving problems
Problems

Play hockey this...

Play hockey this...

\includegraphics{https://static.e-olymp.com/content/5b/5be2b5a8d9c8ad5dc478dbe3f88a42c4c467b0e9.jpg} 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? \InputFile In a single line located a unique natural number \textbf{N}, does not exceed \textbf{100}. \OutputFile Single number - the required number of ways.
Time limit 0.18 seconds
Memory limit 22.89 MiB
Input example #1
17
Output example #1
4080
Author Анатолий Присяжнюк