from yogi import scan

x = scan(int)
while x is not None:
    print(double_factorial(x))
    x = scan(int)
