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?
In a single line located a unique natural number N, does not exceed 100.
Single number - the required number of ways.