fn max_profit(prices: &[i32]) -> i32 {
    // your move
}
