a = int(input()) s = 1 if a%2==0: for i in range(2,a+1,2): s*=i else: for i in range(2,a,2): s*=i print(s)