def find_order(num_courses: int, prerequisites: list[list[int]]) -> list[int]:
    # your move
