eolymp
bolt
Try our new interface for solving problems
Problems

Play hockey this...

Play hockey this...

Time limit 0.18 seconds
Memory limit 23 MiB

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
Author Анатолий Присяжнюк