N = int(input()) SUM = 1 for i in range(5): SUM *= (N-i)/(99-i) print(SUM*12)