input: Write a python function to calculate the maximum profit by subtracting the minimum price from the maximum price.
  assert getMaxProfit(12, 9) == 3
  assert getMaxProfit(20, 5) == 15
  assert getMaxProfit(15, 15) == 0
output: def getMaxProfit(price1, price2):
      return abs(price1 - price2)