fn max_product(nums: &[i64]) -> i64 {
    // your move
}