input: Write a function to calculate harmonic mean based on product and summation.
  assert harmonic_mean(10, 5) == 1.0
  assert harmonic_mean(20, 4) == 0.25
  assert harmonic_mean(15, 3) == 0.25
output: def harmonic_mean(product, summation):
      return summation / product