An -sided die has the integers from to , one on each face. Roll the die independently three times, and let be the results in order. The same number may appear more than once.
Count the ordered triples satisfying the following condition.
The input is given in the following format:
Print the number of ordered triples satisfying the condition.