#!/usr/bin/env python3 def func(n): if n == 1: return 1 return n*(sum(func(x) for x in range(n%2+1,n,2))) n = int(input()) print(func(n))