input: Write a function to calculate the product of a number and the next two consecutive numbers.
  assert product(2) == 24
  assert product(3) == 60
  assert product(4) == 120
output: def product(n):
      return n * (n + 1) * (n + 2)