def max_profit(prices): # Replace this placeholder return statement with your code return -1