kruskals tree theorem

Input interpretation

Kruskal's tree theorem