← Home
 ```go
package main

import (
	"fmt"
)

func main() {
	var n int
	fmt.Scan(&n)
	
	n64 := int64(n)
	combinations := n64 * (n64 - 1) * (n64 - 2) * (n64 - 3) * (n64 - 4) / 120
	result := combinations * combinations * 120
	
	fmt.Println(result)
}
```