while True: n = int(input().strip()) s = 1 for i in range(n, 1, -2): s *= i print(s)