def critical_connections(
    n: int, 
    connections: list[list[int]]
) -> list[list[int]]:
    # your move
