fn min_connection_cost(n: i32, connections: &[Vec<i32>]) -> i32 {
    // your move
}
