def task2(roads: list) -> list:
    """
    Parameters:
    :roads (list): list of roads where road is tuple (a, b c). a and b it is corssroads and c is number of road.
    :return: path or None
    """
    pass
