n = int(input()) even_product = 1 for num in range(2, n+1, 2): even_product *= num print(even_product)