input: Write a python function to find the maximum product of any three numbers from a list.
  assert max_product_three([1, 2, 3, 4, 5]) == 60
  assert max_product_three([-10, -10, 5, 2]) == 500
  assert max_product_three([1, 10, -5, 1, -100]) == 5000
output: def max_product_three(nums):
      nums.sort()
      return max(nums[-1] * nums[-2] * nums[-3], nums[0] * nums[1] * nums[-1])