def find_edges():
    edges = []
    for v in graph:
        for e in graph[v]:
            edges.append((v, e[0], e[1]))
    return edges
def find_edges():
    edges = []
    for v in graph:
        for e in graph[v]:
            edges.append((v, e[0], e[1]))
    return edges