Below is a weighted graph with a partly constructed minimum spanning tree (shown in blue):
Find all possible edges that can be chosen at the next step of Prim's algorithm. Your output is expected to be in the following format (each edge on a separate line):
1 2
2 3
3 4